If you want to disable auto-scroll on click in collapsible widget then you need to follow below instruction.
1, You need to override lib/web/mage/collapsible.js to in your theme app/design/frontend/[vendor]/[themename]/web/mage/collapsible.js
2, After that, you need to comment “elem.scrollIntoView();” this approx line no. 575 in your overwritten file
Like:
1 2 3 4 5 |
_scrollToTopIfVisible: function (elem) { if (!this._isElementOutOfViewport(elem)) { /* elem.scrollIntoView(); */ } }, |
[crayon-63e0a071d8758775266612/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.