simplesamlphp / SAML-tracer

Browser extension for examining SAML messages
https://addons.mozilla.org/nl/firefox/addon/saml-tracer/
BSD 2-Clause "Simplified" License
141 stars 39 forks source link

Deactivate autoscroll on scrolling up doesn't work in Chrome #62

Closed khlr closed 4 years ago

khlr commented 4 years ago

While working on the Chrome Cookie fix I noticed that the deactivate autoscroll function doesn't work in Chrome. Usually autoscroll gets automatically deactived when you scroll upwards. This doesn't work in Chrome and is due to Element.scrollTopMax being non-standard; even in Firefox...

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

See: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTopMax