Not compatible with safari
See original GitHub issueThese two lines not works in safari, because safari doesn’t respect document.documentElement.scrollTop/Left
This is a complicated topic, so I just put a reference here, it is up to you to decide choose which solution: https://stackoverflow.com/questions/20514596/document-documentelement-scrolltop-return-value-differs-in-chrome/33462363#33462363
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
If Safari on Mac doesn't open a webpage or isn't working as ...
The webpage might not be compatible with one or more browser settings, which you can turn on or off as needed. From the...
Read more >3 Ways to Fix This Version of Safari is No Longer Supported
1. Update the Safari Browser · Click Software Update in System Preferences. · Check the option marked Automatically keep my Mac up to...
Read more >How to fix 'This version of Safari is no longer supported ... - iMore
How to fix 'This version of Safari is no longer supported' messages ... Older versions of OS X don't get the newest fixes...
Read more >Why do so many websites still not work properly with ... - Quora
Different rendering engines. Chrome uses Blink, while Safari uses WebKit. · Safari is a native application, Chrome is not. · Chrome has vastly...
Read more >Change or update your browser for a better experience
Supported browsers. Google One no longer supports Internet Explorer. ... Google One supports Google Chrome, Firefox, MS Edge, Safari, and Opera.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah alright i see, yeah the
bindElement
is used when you want to trigger classes inside a scrolling div.For example (untested code);
It then adds the
scroll
listener to the.wrap
div, and checks thescrollTop
from.wrap
. In most cases you’d leavebindElement
alone.@terwanerik Ah, that makes sense now. Thank you!