Repository navigation
Repair Datepicker popup and form behavior - #43313
Merged
Merged
Conversation
✅ Deploy Preview for twbs-bootstrap ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This was referenced Nov 9, 2026
mdo
force-pushed
the
codex-datepicker-contract
branch
from
November 14, 2026 20:53
be04470 to
7cd22cd
Compare
mdo
marked this pull request as ready for review
November 15, 2026 17:24
Keep keyboard users in the form flow. Preserve the application input when the calendar closes or is disposed. Submit ISO dates while the visible field keeps its local format. Let Bootstrap own popup lifetime, focus, events, and positioning. Give Vanilla Calendar Pro a separate render node. Keep reset and disabled form behavior consistent. Repair theme, contrast, RTL, and Sass switch support. Document the form contract and trusted template boundary. Refs #43093, #43101, #43145, #43149, #43202
The Datepicker changes increase three JavaScript bundles beyond their gzip budgets. Raise those limits to the next quarter-kilobyte boundary above each measured size.
Format prefilled dates before focus and submit their ISO values. Keep a completed reset when a later reset is canceled. Ignore an older popup opening after a new opening starts. Respect disabled fieldsets when opening the calendar. Keep these fixes from the previous merge commit on the rebased branch and retain the Datepicker migration notes.
Let people open the calendar without showing the mobile keyboard. Move focus to the selected date and return focus to the opener. Keep the popup in view and start its exit as soon as a date is chosen. Check typed dates against calendar restrictions. Preserve field names on disposal and handle focus and dialog dismissal inside shadow roots. Update the examples and migration notes. Cover the new interactions with browser regression tests and adjust the affected bundle limits.
Show an accessible error for invalid typed dates. Keep incomplete ranges provisional and restore the last selection on dismissal. Add keyboard shortcuts and announce the next step in range selection. Show one month on narrow screens and give date labels room to fit. Inset the Form adorn button and add a calendar actions example with Today and Clear. Document the updated behavior and cover regressions.
Each keyboard navigation path sets a direction before it uses it. Remove the unused initial value flagged by CodeQL.
mdo
force-pushed
the
codex-datepicker-contract
branch
from
November 19, 2026 18:30
cf542dd to
036e3f9
Compare
2 of 3 tasks
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.
Fixes #43093.
Fixes #43101.
Fixes #43145.
Fixes #43149.
Fixes #43202.
Closes #43097.
Closes #43112.
Closes #43119.
Closes #43150.
Closes #43151.
Closes #43169.
Closes #43232.
Closes #43244.
Closes #43254.
Fixes julien-deramond/bootstrap-test-playground#139.
Fixes julien-deramond/bootstrap-test-playground#155.
Fixes julien-deramond/bootstrap-test-playground#174.
Fixes julien-deramond/bootstrap-test-playground#181.
Fixes julien-deramond/bootstrap-test-playground#185.
Fixes julien-deramond/bootstrap-test-playground#265.
Fixes julien-deramond/bootstrap-test-playground#324.
Fixes julien-deramond/bootstrap-test-playground#356.
Fixes julien-deramond/bootstrap-test-playground#372.
Addresses the Datepicker portion of #43170. Toast and the Anchor Positioning proposal remain open there.
Addresses the Datepicker portions of julien-deramond/bootstrap-test-playground#173, julien-deramond/bootstrap-test-playground#186, and julien-deramond/bootstrap-test-playground#208.
The automatic initialization opt-out proposal in #43372 remains separate.