We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8406cf commit 33c36d7Copy full SHA for 33c36d7
src/index.js
@@ -215,7 +215,7 @@ export const AutocompleteDropdown = memo(
215
const onChangeText = useCallback(text => {
216
setSearchText(text)
217
debouncedEvent(text)
218
- }, [])
+ }, [debouncedEvent])
219
220
const onChevronPress = useCallback(() => {
221
toggle()
@@ -270,7 +270,7 @@ export const AutocompleteDropdown = memo(
270
{/* it's necessary use onLayout here for Androd (bug?) */}
271
<View
272
ref={containerRef}
273
- onLayout={_ => {}}
+ onLayout={_ => { }}
274
style={[styles.inputContainerStyle, props.inputContainerStyle]}>
275
<InputComponent
276
ref={inputRef}
0 commit comments