feat(h5): give the dock five independently tweened slots - #28
Merged
Merged
Conversation
Crossing the 1023/1024 rail breakpoint used to snap the dock: the grid tracks switch discretely, so the five actions jumped together and landed off their own slots. Each action now owns an absolute slot expressed in percentages of the dock box, so left/top/width/height all interpolate and every action travels its own trajectory into the rail. - Drop grid-template-columns/rows from the dock transition list. Combined with transition-behavior: allow-discrete they wedge Chrome's layout: the main thread stopped answering CDP for 30s+ at the breakpoint. - Size the bar box and the rail width with absolute lengths. A bar-side percentage kept growing while the rail-side fraction shrank, inflating the box mid-flight until the publish/active chips overlapped. - Keep transform free for press feedback and move the publish float to top. - Enlarge the publish label; let the desktop dock and type scale with clamp(). - h5-visual: replace racy rAF sampling with deterministic pause/seek sampling of the running transitions, assert every action interpolates and that the box never grows past the two settled layouts. - h5-visual: the guest detail assertion demanded an API-fixture ISBN, but the local-first catalogue renders the seeded record with no listing request. Assert the seeded record shows and that no login gate appears. Verified: miniProgram lint + 54 tests, web lint + 50 tests, H5 build and performance budget, h5-visual 74/74 with 0 diagnostics, WeApp build.
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.
Crossing the 1023/1024 rail breakpoint used to snap the dock: the grid tracks switch discretely, so the five actions jumped together and landed off their own slots. Each action now owns an absolute slot expressed in percentages of the dock box, so left/top/width/height all interpolate and every action travels its own trajectory into the rail.
Verified: miniProgram lint + 54 tests, web lint + 50 tests, H5 build and performance budget, h5-visual 74/74 with 0 diagnostics, WeApp build.