-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX (searchFn)[#101] searchFn callback should only call once when typing in the search bar #131
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 2bb3dab:
|
Would you be willing to add the hacktoberfest label to this project? |
@@ -1,5 +1,6 @@ | |||
import React from 'react'; | |||
import TestRenderer from 'react-test-renderer'; | |||
import { LIB_NAME } from '../src/constants'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used I think
@@ -74,7 +74,8 @@ export class Select extends Component { | |||
values: props.values, | |||
search: '', | |||
selectBounds: {}, | |||
cursor: null | |||
cursor: null, | |||
searchResults: props.options, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add the new state entry to docs at /docs/src/pages/state.md
?
src/index.js
Outdated
@@ -379,6 +382,7 @@ export class Select extends Component { | |||
}); | |||
|
|||
handleKeyDown = (event) => { | |||
console.log({ event }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed anymore I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pattiereaves thank you!
* master: (27 commits) v4.7.0 See changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md FIX (searchFn)[#101] searchFn callback should only call once when typing in the search bar, #134, #133 (#136) 4.6.1 Revert "FIX (searchFn)[#101] searchFn callback should only call once when typing in the search bar (#131)" (#135) v4.6.0 See changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md FIX (searchFn)[#101] searchFn callback should only call once when typing in the search bar (#131) v4.5.2 See changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md FIX (style): Accepts a short color (#127) v4.5.1 See changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md FIX (duplicates)[#116]: more proper way to check dupes, closes #116 FIX (duplicates): PR comments FIX (duplicates)[#116]: more proper way to check dupes, closes #116 bump version v4.5.0 See changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md FIX (input) [#114]: fix chars truncated, closes #114 v4.4.2 See changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md FIX (box-model): add box-sizing border-box, closes #94 (#104) Bump websocket-extensions from 0.1.3 to 0.1.4 (#102) DOCS (example): add import to example, thanks to @karland, closes #93 CHORE (types): fix keepOpen type | closes #95 (#96) ... # Conflicts: # __tests__/__snapshots__/index.spec.js.snap # __tests__/components/__snapshots__/DropdownHandle.spec.js.snap # package-lock.json # src/components/DropdownHandle.js
resolves #101