Repository navigation
fix(explorer): blank stage on half of page loads; phone fullscreen button over Zoom out - #1538
Merged
Merged
Conversation
explorer-shell.js moves #stage into the workspace at load, so the stage IntersectionObserver can deliver [hidden, visible] in one callback. The callback read only the first entry, left stageVisible=false, and the canvas never drew until the stage was scrolled away and back. Use the newest entry instead. Live site: 9/16 Playwright loads drew the stage (desktop 3/8, phone 6/8). Fixed build: 16/16, with tab round trip and focus mode still drawing. check-stage-visibility.cjs fails on the old line and passes on the fix. Co-Authored-By: claude-flow <ruv@ruv.net>
Below 740px the zoom rail rises into the stage's top-right column, and #fullBtn (top 158px, right) sat on top of the Zoom out button. Move it to the free left-column slot between Export and Focus (top 110px) on phones, including the :fullscreen state. Desktop placement is unchanged. Bump the explorer-shell.css cache key. Co-Authored-By: claude-flow <ruv@ruv.net>
This was referenced Nov 24, 2026
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.
Problem
On https://ruvnet.github.io/RuVector/explorer/ the main search canvas often never draws: the playhead sits at `0.0 s` over an empty stage until the visitor scrolls the stage away and back.
Cause
`explorer-shell.js` moves `#stage` into the workspace at load. The stage `IntersectionObserver` then delivers `[hidden, visible]` in a single callback, and the callback destructured only the first entry (`([e])=>…`), so `stageVisible` stayed `false` and `frame()` skipped every draw.
Fix
Use the newest entry: `es[es.length-1].isIntersecting`.
Evidence (Playwright, 7 s after networkidle)
Tab round trip (Learn → Benchmarks → Search) and focus mode on/off still draw at both sizes.
Tests
Second commit: phone control overlap
Below 740px the zoom rail rises into the stage's top-right column and
#fullBtncovered Zoom out. On phones it now sits in the free left-column slot between Export and Focus (also in:fullscreen). Desktop is unchanged. Rechecked at 390px in normal and focus mode: no overlapping stage controls.explorer-shell.csscache key bumped.🤖 Generated with claude-flow