Skip to content
Permalink
Branch: master
Commits on Oct 2, 2019
  1. Focus root node if focusable (#57)

    einarlove authored and thebuilder committed Oct 2, 2019
    * use-focus-trap – Focus root node if focusable
    
    If you don't want a child node to be initially focused, you can make your root node be focusable instead.
    
    * Move tabIndex logic to own function
    
    * Use focusable() in useFocusTrap for simpler code
    
    * Add storybook example
You can’t perform that action at this time.