src/SuperSelectField.js
// FIXME: both focusTextField and focusMenuItem don't really focus the targeted element, user must hit another key to trigger the actual focus... need to find a solution for a true direct focus
both focusTextField and focusMenuItem don't really focus the targeted element, user must hit another key to trigger the actual focus... need to find a solution for a true direct focus
both focusTextField and focusMenuItem don ' t really focus the targeted element user must hit another key to trigger the actual focus ... need to find a solution for a true direct focus
focusMenuItem (index) {
    const targetMenuItem = this.menuItems.find((item) => {
      return !!item && (index ? item.props.tabIndex === index : true);
    });
    if (targetMenuItem) targetMenuItem.applyFocusState('keyboard-focused');
  }
focusMenuItem ( index ) { const targetMenuItem = this . menuItems . find ( ( item ) => { return ! ! item && ( index ? item . props . tabIndex === index : true ) ; } ) ; if ( targetMenuItem ) targetMenuItem . applyFocusState ( 'keyboard-focused' ) ; }
FIXME: both focusTextField and focusMenuItem don't really focus the targeted element, user must hit another key to trigger the actual focus... need to find a solution for a true direct focus
FIXME : both focusTextField and focusMenuItem don ' t really focus the targeted element user must hit another key to trigger the actual focus ... need to find a solution for a true direct focus