Scrollbar showing during Back In Right animation
-
When the element is animated in from outside of the viewport, the user sees a horizontal scrollbar on the page.
Here are some screenshots of it in action. Watch at the bottom of the screen for the scrollbar to appear:
- https://www.dropbox.com/scl/fi/rrc7esdu6vc5j7owrq6wh/CleanShot-2023-08-18-at-14.58.36.gif?rlkey=1m6hzg3z3ift0uyor19znodhu&dl=0 (Twenty Twenty Three Theme)
- https://www.dropbox.com/scl/fi/q3310plbv125r90bfgy84/CleanShot-2023-08-18-at-15.00.47.gif?rlkey=dtbb80w07mfgvzcqmagljp2j2&dl=0 (my custom theme)
You can also see it in action here: https://custom.hbserver.dev/style-guide/
I saw in this support thread that a fix would be
html { overflow-x: hidden; }
but that would cut off any other elements that are wider than the viewport (ex: a table).I’m wondering if a solution would be to temporally put the
html { overflow-x: hidden; }
only during the animation? Do you have the source code of the javascript by chance? I could play around with it and submit a pull request if thats helpful. I am more than willing to contribute to the fix.Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Scrollbar showing during Back In Right animation’ is closed to new replies.