Skip to content
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

bug: UI flickering when resizing / applying CSS styles #421

Open
mman opened this issue Sep 12, 2024 · 1 comment
Open

bug: UI flickering when resizing / applying CSS styles #421

mman opened this issue Sep 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mman
Copy link
Collaborator

mman commented Sep 12, 2024

When the Widget like Tanks overview or Energy overview loads, it displays all its nested elements.

Then it somehow sizes them and determines whether some of these are overflowing from the box, and if yes it displays the bottom left/right pagination controls. When the CSS style is loaded and applied, some of the children may change size, and the process needs to repeat. This can cause a lot of flickering on the slow MFD where initial display without CSS persists for several seconds before the CSS is applied.

The bug can be easily reproduced by resizing the modern browser window to the size where items start to disappear from the list and pagination controls start to appear.

Screen.Recording.2024-09-12.at.11.14.20.mov
@mman mman added the bug Something isn't working label Sep 12, 2024
@mman
Copy link
Collaborator Author

mman commented Oct 9, 2024

When you tap on Environment and Tanks the CSS applies straight ahead without blinking.

When you tap on Batteries, the page loads and then applies new style.

When you get back from any detailed page, main page loads, displays, and new styles get applied.

Investigate. It's less then good...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant