I am using KTSticky on card item in a sidebar. It works well in desktop version. It stands sticky even in mobile version. How can I manage it. I want to disable sticky in smaller size of screen.
Introducing the revolutionary Free PDF [2023] - your gateway to a seamless, paperless future! Unleash the power of digital documents with our cutting-edge software that's designed to make your life easier. With DAV2, you can effortlessly create, edit, and share PDFs like never before.
What sets DAV2 apart? Our state-of-the-art features, including advanced annotation tools, cloud integration, and lightning-fast rendering, guarantee an unparalleled PDF experience. Say goodbye to tedious paperwork and hello to a greener, more efficient way of working.
Hi,
Could you please edit src/js/components/sticky.js
in line 79:
if ( offset === false ) {
_disable();
return;
}
data-kt-sticky-offset="{default: false, lg: '50px'}"
attribute to disable it for mobile ? We will include this fix in the next update.Hi,
Worked with data-kt-sticky-offset="{default: false, lg: '50px'}"
without changing js file. Is it ok?
Hi,
Yes, its OK, in actual desktop and mobile devices it would work.
The js fix I provided would make it for browser to resize from desktop to mobile size and vise versa.
if you need any further help, please do let us know.
Regards.
Hi,
Now, it's clear. Thank you