jnicol/trackpad-scroll-emulator

Scroll bar does not show

tobiasdemaine opened this issue · 2 comments

Sometimes you may have hidden elements nested inside visible elements or dynamically loaded elements with hidden elements. Ocassionally it causes the browser to return a zero height of the .tse-content div.

work around / fix : .tse-content { overflow:hidden; } to force the browser to resize the tse-content div to its containing elements and return the $(".tse-content").height() correctly.

Do you have a demo I can use to reproduce this issue and verify the fix?

Issue is still appearing. I was using on a Magento 2 install, and ran into this problem with dynamically loaded content 100% of the time. The workaround solves the issue. I'll be happy to send you a link if you want to see it in action