react-typeahead icon indicating copy to clipboard operation
react-typeahead copied to clipboard

Optionally propagate keydown events

Open clalimarmo opened this issue 10 years ago • 3 comments

so that we can leverage default keydown behaviors provided by the browser, such as tabbing to the next input.

The default behavior is the previous behavior, so that this is not a breaking change.

clalimarmo avatar Oct 26 '15 03:10 clalimarmo

This addresses feedback on #111, and provides a way to address issue #110

clalimarmo avatar Oct 26 '15 03:10 clalimarmo

The prop should also be added to tokenizer's render method.

Althought it doesn't work very well with the tokenizer. When you search and press tab, a list item gets selected and focus immediately jumps to the next HTML element. In the case of the tokenizer, I think the focus should remain in the search input after selecting a list item and should jump to the next HTML element after pressing tab again, if the input is empty.

stovmascript avatar Nov 12 '15 09:11 stovmascript

I just guessed at what might work for the tokenizer. I haven't been using the Tokenizer at all, and don't have anything set up to actually test that change out. I'll eventually get around to it, but if you happen to try it out, let me know if it works :)

clalimarmo avatar Nov 15 '15 20:11 clalimarmo