-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix navbar +
menu flashing on page load
#31281
Conversation
+
menu flashing+
menu flashing on page load
Would appreciate some swift reviews here, this bug is very annoying. |
I think |
I don't think it is, https://fomantic-ui.com/modules/dropdown.html#menu-direction:
So |
76f5e50 removes the problematic class and copies all styles from it onto the affected elements. Renders exactly as before for me, including mobile view. |
Need to check if there are any more I think it's worth a try to remove |
Actually let's merge this now as-is, don't wanna extend the scope of this PR and this is a important fix to have for v1.22. |
I do not see more bad cases.
That's how fomantic dropdown works. It officially uses |
Fixes go-gitea#31273 (comment). Same method as used in go-gitea#30215. All left-opening dropdowns need to use it method. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Backport #31281 by silverwind Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* giteaofficial/main: Fixed incorrect localization `explorer.go` (go-gitea#31348) Improve detecting empty files (go-gitea#31332) Fix hash render end with colon (go-gitea#31319) Fix line number widths (go-gitea#31341) Fix navbar `+` menu flashing on page load (go-gitea#31281) Reduce memory usage for chunked artifact uploads to MinIO (go-gitea#31325) Fix dates displaying in a wrong manner when we're close to the end of the month (go-gitea#31331) Fix adopt repository has empty object name in database (go-gitea#31333) Optimize profile layout to enhance visual experience (go-gitea#31278)
Fixes #31273 (comment). Same method as used in #30215. All left-opening dropdowns need to use it method.