downshift
downshift copied to clipboard
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
**What**: Adding the ability to pass an `isDisabled` prop to `useSelect` **Why**: This will allow disabling individual items much easier for users of this hook. **How**: By adding a defaultProp...
- `downshift` version: 6.0.6 - `node` version: 12.6.1 - `npm` (or `yarn`) version: 6.14.6 **Relevant code or config** Issue can be seen in the `useCombobox` "basic usage" example in CodeSandbox:...
- `downshift` version: 6.0.5 - `node` version: 12.10.0 - `npm` (or `yarn`) version: **Relevant code or config** CodeSandbox example https://codesandbox.io/s/cranky-davinci-52kny?file=/src/hooks/useCombobox/controlling-state.js **What you did**: I added an event handler on the...
TLDR: Ok, I understand. You need onSelect. Let's develop it, we will use this issue to track it. You probably need to work in hooks/utils.js on callOnChangeProps. Call onChange if...
Hi there, thanks for your great work on Downshift! We're currently using the `useCombobox` hook and will definitely be using `useSelect` for our custom select components. I'm currently tasked with...
- `downshift` version: v6 Feature request: downshift [attaches event listeners](https://github.com/downshift-js/downshift/blob/ba0ec8a51f3ee60d52b90122fc3efa7e26532160/src/hooks/utils.js#L305-L382) to the document to trigger the `InputBlur` event when the the user clicks outside of the downshift menu element when...
Related: https://github.com/downshift-js/downshift/issues/853 - `downshift` version: 6.0.5 - `node` version: 13.14.0 - `npm` (or `yarn`) version: 6.14.4 Demo https://codesandbox.io/s/useselect-usage-forked-muf3q?file=/index.js **Problem description**: While native selects do allow a user to use the...
- `downshift` version: 3.4.1 - `node` version: 10.9.0 - `yarn` version: 1.17.3 Potentially related to #759 **Problem description**: The `stateAndHelpers` param from the `onInputValueChange` function doesn't actually represent my desired...
- `downshift` version: 5.4.0 **Problem description**: Currently, all descriptions of props are found through Github. They are nice and all, but it is a hassle to access the repo every...
Join with the full organization (now in beta). https://github.com/sponsors