-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Native Send Component #1874
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
bf2eb1f
to
bb6562d
Compare
342bbfb
to
95ee15c
Compare
95ee15c
to
43a0f8a
Compare
onKeyDown={(e) => { | ||
if (e.key === 'Enter' || e.key === ' ') { | ||
onActionPress?.(); | ||
} | ||
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little confused why you need an explicit onKeyDown
handler? Shouldn't <button />
handle that out of the box?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, you're right, removing in 2068
What changed? Why?
Notes to reviewers
How has it been tested?