jquense / react-widgets

Polished, feature rich, accessible form inputs built with React
http://jquense.github.io/react-widgets/
MIT License
2.34k stars 395 forks source link

ComboBox autoFocus not working #1130

Closed gapetto closed 2 years ago

gapetto commented 2 years ago

Here is how I use the component:

...
  return (
    <Combobox
      data={values}
      placeholder="Search"
      autoFocus
    />
  );
...

ComboBox autoFocus prop is not working. It does not focus on mount. I tried to pass it also via inputProps but it doesn't work like that as well. Actually, none of props passed to inputProps is working, so maybe that's related...