Open rishadjb opened 8 years ago
I think I am having the same issue like @rishadjb described above.
yes i have the same issue, i have to click multiple times
was there any fix for this? @alexmassicott @larrydahooster ?
@Richard-Thompson
I fixed it by changing the react-typeahead manually in the index.js,
I added on change to the onChange event, replace the index.js in the lib folder in the node_module
I can give you my whole node_module folder if you need it. What causes the dropdown to trigger is this line in the typeahead index.js this.setState({ isFocused: true, showResults: true });
If someone wants to send a PR with this behavior behind an option (or if this is saner default behavior), I'll pick it up and do an alpha.8 release.
When I click in the area of the typeahead (or tokenizer when using it), it doesn't focus on the text input field automatically. I have to click the input field to focus on it.
There is a .focus function, but there is no onClick for the typeahead, which I link the .focus to.
Is there way to do this? Hopefully my explanation is clear enough in what I intend to do.
Thanks.