react-live
react-live copied to clipboard
Add tabMode prop
This pull request adds a new prop for LiveEditor - tabMode
- which lets you define how the tab key should work.
If you pass the value indentation
(the default), everything will work as it has. If you pass focus
, however, you'll be able to tab on to the next or previous item in the tab order, which is a WCAG requirement.
You could then implement a way to change this mode based on user settings, an external checkbox or whatever, really.
Fixes #179
@selbekk, thanks for opening this PR! I hope it gets merged soon. Until then, are there any workarounds you'd recommend?
Any update on this?
@selbekk @sserrata @holloway
Happy to say this has been merged in and now available on 3.1.2!
Sorry for the delay, we haven't had an active maintainer on this package in a while. Appreciate your work here!
Sorry for the delay, we haven't had an active maintainer on this package in a while.
Wonderful to hear you're back on track 🎉 Appreciated.