Skip to content

[pull] main from adobe:main#318

Merged
pull[bot] merged 2 commits intocode:mainfrom
adobe:main
Mar 11, 2026
Merged

[pull] main from adobe:main#318
pull[bot] merged 2 commits intocode:mainfrom
adobe:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 11, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

snowystinger and others added 2 commits March 11, 2026 00:03
* feat: S2 ListView HCM

* fix lint

* Fix pre-existing issue in Menu

* Fix typescript

* fix Section headers

* fix bad description color

* more intuitive control for font color of description

* dont' forget menu

* fix description in ListView HCM
… is pressed in NumberField, commit() was called without flushSync, unlike the blur handler which wraps commit() in flushSync. This caused controlled form libraries reading React state immediately after Enter to receive stale values instead of the committed value. The browser synthesizes a trusted click on the form's submit button when Enter is pressed, firing onSubmit before the unguarded commit() has flushed to React state. This change wraps commit() in flushSync on Enter, making it consistent with the blur behavior and ensuring the value is flushed synchronously before any consumer reads form state. Fixes #9671 (#9683)
@pull pull bot locked and limited conversation to collaborators Mar 11, 2026
@pull pull bot added the ⤵️ pull label Mar 11, 2026
@pull pull bot merged commit 1ebb0fe into code:main Mar 11, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants