0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2026-11-16 06:58:43 +00:00

Compare commits

..

3 commits

Author SHA1 Message Date
Mark Otto
7cd22cd934 fix(datepicker): preserve form state through overlapping actions
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.
2026-11-14 12:53:03 -08:00
Mark Otto
98d635d982 chore(bundlewatch): account for Datepicker fixes
The Datepicker changes increase three JavaScript bundles beyond their
gzip budgets. Raise those limits to the next quarter-kilobyte boundary
above each measured size.
2026-11-14 12:51:43 -08:00
Mark Otto
26a6b03a2c Repair Datepicker popup and form behavior
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
2026-11-14 12:51:26 -08:00
11 changed files with 1298 additions and 192 deletions