You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to work correctly in Firefox, but Chrome / Safari seems to ignore it?
with Firefox (121.0 on OSX arm64), the is no scroll:
with Chrome (120.0.6099.216 on OSX arm64) and Safari (17.2.1) , the scolling still occurs:
The text was updated successfully, but these errors were encountered:
chrisjsewell
changed the title
Chrome does not seem to obey element.scrollIntoView({ behavior: "instant" })
Some browsers does not seem to obey scrollIntoView({ behavior: "instant" }) if in iframe
Jan 25, 2024
The code that ensures the target is visible within the iframe is:
sphinx-peek/src/sphinx_peek/assets/sphinx_peek.js
Line 218 in ebe276a
This appears to work correctly in Firefox, but Chrome / Safari seems to ignore it?
with Firefox (121.0 on OSX arm64), the is no scroll:
with Chrome (120.0.6099.216 on OSX arm64) and Safari (17.2.1) , the scolling still occurs:
The text was updated successfully, but these errors were encountered: