fix(ui): eliminate UI flickering, modal race conditions, and animation jank - #159
Open
Tell-Shanks wants to merge 1 commit into
Open
fix(ui): eliminate UI flickering, modal race conditions, and animation jank#159Tell-Shanks wants to merge 1 commit into
Tell-Shanks wants to merge 1 commit into
Conversation
- components.js: add modal generation counter to cancel stale hideModal timeouts - components.js: increase CustomSelect MutationObserver debounce from 10ms to 50ms - components.js: cap card stagger animation delay at 0.4s - app.js: populate game dropdown via DocumentFragment to prevent dropdown flash - main.css: default .page to opacity: 0 and contain: layout style - cards.css: add will-change: opacity, transform for stagger hardware acceleration - premium.css: isolate body::before gradient stack into GPU compositing layer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes visual flickering and UI jank across the SFF web UI by addressing modal timing races, dropdown flash/repaint storms, page transition flicker, card animation jank, and background repaint jank.
Files changed
sff/webui/js/components.js— modal generation counter, increased observer debounce, capped card stagger delaysff/webui/js/app.js— dropdown population via DocumentFragment to prevent flashsff/webui/css/main.css— page default opacity and CSS containmentsff/webui/css/cards.css— hardware acceleration for stagger animationssff/webui/css/premium.css— GPU-layer isolation for background gradient and explicit transitionsTesting notes