You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When preventKeyAction is true for getDropdownProps it omits its own onKeyDown and onClick handlers but it also omits any keydown or click handler that the caller may have provided:
I think a more predictable behavior would be to call the handlers supplied by the consumer regardless of preventKeyAction (they might have nothing to do with key actions).
The text was updated successfully, but these errors were encountered:
When
preventKeyAction
is true forgetDropdownProps
it omits its ownonKeyDown
andonClick
handlers but it also omits any keydown or click handler that the caller may have provided:downshift/src/hooks/useMultipleSelection/index.js
Lines 211 to 214 in ee2a828
I think a more predictable behavior would be to call the handlers supplied by the consumer regardless of
preventKeyAction
(they might have nothing to do with key actions).The text was updated successfully, but these errors were encountered: