Skip to content

Tour: descend to the last mood (all formats) + remove stage halos#33

Merged
YamadaBlog merged 2 commits into
mainfrom
fix/tour-moods-descent-halos
Jun 12, 2026
Merged

Tour: descend to the last mood (all formats) + remove stage halos#33
YamadaBlog merged 2 commits into
mainfrom
fix/tour-moods-descent-halos

Conversation

@YamadaBlog

Copy link
Copy Markdown
Owner

Two root causes for the user-reported tour bug: the end-anchor always capped the descent at row 1, and a round-16 regression made every tween frame fight the CSS smooth-scroll (descent stopped short). Now ends with the last cell at 92% vh, measured at runtime (mobile's single column just glides longer). Verified by driving the real tour to step 5/10 at 2560 and 390px: lastCellFullyVisible=true both. Orange stage halos removed on request.

🤖 Generated with Claude Code

YamadaBlog and others added 2 commits June 12, 2026 17:39
…os removed

User report : the Pick-a-mood tour step never reached the bottom of
the grid, on any viewport. TWO root causes :

1. The step's end anchor ('title still visible', sectionTop+40)
   always won over 'show all content' for the tall grid — rows 2-3
   were never shown. The descent now ends with the LAST grid cell at
   ~92% of the viewport, measured at run time, so the single-column
   mobile grid simply yields a longer, equally smooth glide.

2. Round-16 regression : the tour's tween callbacks called
   window.scrollTo(0, y) per frame — with the CSS
   html{scroll-behavior:smooth} added in round 16, EVERY tween frame
   became its own eased glide : the tween trailed its target and the
   descent stopped short. All 3 tween callbacks now pass
   behavior:'instant' (the tween is the easing), same fix as
   useDemoTour.scrollTo got in round 16.

Verified by driving the real tour to step 5/10 on desktop 2K and
390px mobile : lastCellFullyVisible=true on both (bottom at 92% vh).

Also : the orange halo behind both resize/drag stages removed
(user request), screenshot-verified.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@YamadaBlog YamadaBlog merged commit da11fe5 into main Jun 12, 2026
10 checks passed
@YamadaBlog YamadaBlog deleted the fix/tour-moods-descent-halos branch June 12, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant