microbit-foundation / python-editor-v3

Micro:bit Educational Foundation Python Editor V3
https://python.microbit.org
MIT License
57 stars 36 forks source link

Sidebar "slide in" animation sometimes stops before the end #795

Closed microbit-carlos closed 2 years ago

microbit-carlos commented 2 years ago

Bug Description

The animation doesn't finish and leaves a lot of space on the left: Screenshot2022_07_04_132955

How To Reproduce

Not sure how, last time I found it was simply by loading this URL: https://review-python-editor-next.microbit.org/less-reference/?reference=accelerometer

Expected behavior

"Accelerometer" slide-in animation to finish and place the content to the final position.

Screenshots

At the description.

Environment

Additional context

N/A

microbit-matt-hillsdon commented 2 years ago

We see this from time to time when refreshing URLs that specify a reference section.

It's currently hard to get hold of these URLs from our beta deployment because of the iframe-embedding the versioner uses.

We should definitely fix this if we start linking to the docs ourselves or remove the iframe (which we hope to do at some point).