How to propagate event when "Enter" key is pressed in DatePicker? #7327
Unanswered
iamrakhmatov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using DatePicker component inside my glide-data-grid, DatePicker gets rendered inside portal while cell is in edit mode, and closing the edit mode is triggered by "Enter" key, therefore I need to propagate event from the DatePicker when "Enter" key is pressed, however I'm facing couple issues:
onKeyDown
event is not triggered when "Enter" key is pressedonKeyUp
event gets triggered BUT now I can't callcontinuePropagation
function because it's not provided to theevent
parameter of theonKeyUp
handler.So how I can propagate the event when "Enter" is pressed?
Beta Was this translation helpful? Give feedback.
All reactions