rescript-association / rescript-lang.org

Official documentation website for the ReScript programming language
https://rescript-lang.org
MIT License
1.85k stars 246 forks source link

Hiding the top nav on mobile devices feels extremely janky #899

Closed kantuni closed 2 months ago

kantuni commented 2 months ago

The functionality introduced in Hide top nav on reading docs on mobile feels extremely janky. Please fix the flicker when hiding or showing the top nav.

cometkim commented 2 months ago

Can you record it?

cometkim commented 2 months ago

please let me know if the problem persists. However the feature only uses the transform of an isolated context. I guess it's more likely a different issue.

kantuni commented 1 month ago

It looks like #902 fixed it. I can still see slight flickering, but very rarely. It might be a good idea to add some leeway before showing the header.

In any case, thank you so much for tackling this so fast!