Skip to content

Fire off number updates eagerly#3282

Open
fakemonster wants to merge 1 commit into
mainfrom
fix/eager-number-input
Open

Fire off number updates eagerly#3282
fakemonster wants to merge 1 commit into
mainfrom
fix/eager-number-input

Conversation

@fakemonster

@fakemonster fakemonster commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

react-aria waits until a blur event to parse inputs and emit numbers. This is nice except that validation is stuck waiting for a blur event (so, e.g., all your form contents are valid, but the submit button is disabled, because we're waiting for you to blur your input). While it'd be nice for react-aria to support some kind of "eager mode", we can pretty easily write one ourselves, by forcing a commit whenever we get suspicious.

Resolves #3249 / #2647

react-aria waits until a blur event to parse inputs and emit numbers.
This is nice except that validation is stuck waiting for a blur event
(so, e.g., all your form contents are valid, but the submit button is
disabled, because we're waiting for you to blur your input). While it'd
be nice for react-aria to support some kind of "eager mode", we can
pretty easily write one ourselves, by forcing a `commit` whenever we get
suspicious.
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Jul 7, 2026 8:28pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to resize an image until you click/tab to another field first

1 participant