ignore scrollToElement when the defined element is in the viewport

১৯টি ভিউ
প্রথম অপঠিত মেসেজটিতে চলে আসুন

Balázs Péterfi

পড়া হয়নি,
১৫ এপ্রি, ২০১৪, ১০:৩২:০০ AM১৫/৪/১৪
প্রাপক isc...@googlegroups.com
Hi All,

I would like to know whether it's possible to prevent scrolling when using scrollToElement in case of the given element is in the view? It's quite annoying that it scrolls the element to the top of the view even if it wouldn't be needed.

Thanks in advance!

Regards,
Balazs
সকলকে উত্তর দিন
লেখককে লিখে পাঠান
ফরওয়ার্ড করুন
0টি নতুন মেসেজ