Repository navigation
Fix: the checkbox's hidden input stretching a page; duplicate ids inside a LoadingShape - #114
Merged
Merged
Conversation
…LoadingShape move to data-shape-id Two faults the first app's browser suite found (relayed 2026-11-22). A checkbox's hidden form input was absolute at its place in the flow, so in a scrolling list that is not itself positioned, under a sticky or positioned ancestor, it escaped the list's clipping and stretched the page (20 rows made it about 860px taller). It now sits at the top start of its containing block, as Base UI's fixed input sat at the viewport's. A LoadingShape draws the app's parts, twice with a prefill, so it held the app's ids twice and getElementById found the inert copy; each id inside the shape now moves to data-shape-id, and again whenever one is set. Tests added (not run: tests paused by the owner). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
CIMIP's browser suite found two faults (relayed by CIMIP's lead on 2026-11-22). CIMIP has a workaround for each; these are the real fixes.
inset: 0 auto auto 0), the way Base UI's own fixed input sat at the viewport's corner. It still isn't a layer, so the gain from the earlier change is kept.getElementByIdfound the inert copy, so "Review" scrolled to it and focus failed.data-shape-id, on mount and whenever one is set again..basalt-bones.Review
These are engineering fixes that put back documented behaviour, so no panel was needed. Astra did not review the code.
Checks
test/mirror-and-shape-ids.test.mjs. They were not run. The owner paused tests until every fix has shipped ("we need to pause on tests until we've shipped all of the fixes/changes").export-sizes.jsonwas not re-recorded.🤖 Generated with Claude Code