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
Use HotkeysTarget on a class where what's returned from render is a React Component and not a DOM element
Actual behavior
Hotkeys fails to work at all (element is not focus-able, pressing keys don't work)
Expected behavior
Hotkeys work as expected.
Plausibly somewhat related to #931 . The issue is we're cloning the child and adding "onKeyDown" and "tabIndex" props to what we clone -- and if we pass these props to something that's not a DOM element, these props (reasonably) do nothing.
The text was updated successfully, but these errors were encountered:
Bug report
Steps to reproduce
HotkeysTarget
on a class where what's returned fromrender
is a React Component and not a DOM elementActual behavior
Hotkeys fails to work at all (element is not focus-able, pressing keys don't work)
Expected behavior
Hotkeys work as expected.
Plausibly somewhat related to #931 . The issue is we're cloning the child and adding "onKeyDown" and "tabIndex" props to what we clone -- and if we pass these props to something that's not a DOM element, these props (reasonably) do nothing.
The text was updated successfully, but these errors were encountered: