Tags: willium/downshift
Tags
fix(hooks): call a11y status message on items change (downshift-js#1073) * call for useCombobox * call for useSelect * update snapshot * update documentation * update Readme descriptions * fix typo
fix(scrollIntoView): do not scroll falsy node (downshift-js#1047) Ref: downshift-js#1045 (comment)
feat(hooks): memoize all callbacks (downshift-js#1051) This PR memoizes all callbacks returned from downshift so we can memoize function components and pass callbacks in dependency arrays. Closes downshift-js#1050
feat(hooks): allows virtualization for hooks (downshift-js#1045) * applied Kent's fixes * prettier * fix highlightedIndex on arrow down without items * update snapshot * rename elementIds to elementIdsRef * add itemRefs to useSelect as well * improve code
fix(preact): add support for preact/debug (downshift-js#824) Co-authored-by: Yahor Ramanenka <yramanenka@dealcloud.com>
fix(hooks): return the ref container with isMouseDown (downshift-js#1038 ) * fix the refactored function * update snap * add cypress test * fix heading in docs
perf(hooks): improve mouse and touch tracking (downshift-js#1032) * move logic in separate hook * snapshot update * fix jsdoc
fix(useCombobox): allow to submit form on pressing Enter (downshift-j… …s#1021) * fix(useCombobox): allow to submit form on pressing Enter Ref downshift-js#1019 Allow to submit form on pressing Enter when menu is closed or no item is selected. * Try to fix coverage
fix(useControlledState): use reducer + useEffect (downshift-js#1020) * use reducer and effect * rename function * fix unit test * fix the input value generation from selectedItem * update snapshot * update unit test * add more unit tests for useSelect * improve tests for useCombobox * update useMultipleSel tests * use ref for action
PreviousNext