-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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 ui flashing on reloading and fast scrollong #16153
fix ui flashing on reloading and fast scrollong #16153
Conversation
White is the default and it's also what I use. |
|
I made some improvements it will now apply different colors for light and dark theme
it resolves the color from the gradio theme I've introduced a new function
personally the flicker is driving me crazy
|
…d_and_fast_scrollong fix ui flashing on reloading and fast scrollong
…hing_on_reload_and_fast_scrollong fix ui flashing on reloading and fast scrollong
Description
Fixes white UI flash after page reloading/loading and fast scrolling. It happens because css from files can't be loaded so quickly. Disadvantages of patch - black flashing on white theme. But I think it's less critical for eyes, and white themes are less popular
Screenshots/videos:
Before:
Screenrecorder-2024-07-05-18-54-20-924.mp4
Screenrecorder-2024-07-05-19-18-47-491.mp4
After:
Screenrecorder-2024-07-05-19-16-07-790.mp4
Screenrecorder-2024-07-05-19-17-47-417.mp4
Checklist: