menu

downshift

🏎 Primitives to build simple, flexible, WAI-ARIA compliant enhanced input React components

Channels
Team
Posts
Members
Info

Performance Optimization

I'm trying to prevent downshift from re-rendering every row when the highlightedIndex changes – only the previously highlighted row and the newly highlighted row. To achieve this, I tried using React.memo, which takes a second argument comparator function (careful, it works the…

thumbsup
0
message-simple
0

Get event from onSelect

I need to check to see if a meta key was pressed along with enter to prevent onSelect from firing but the only args present are the item that was selected and the stateAndHelpers object. Any ideas?

thumbsup
0
message-simple
5

How to clear input when clicking away? for an autocomplete select

thumbsup
0
message-simple
0

Onblur resets field with Formik

Posted a full question over on stack overflow, but would highly appreciate any help with this as i have been STUCK on this for the last two days https://stackoverflow.com/questions/55027063/downshift-autocomplete-onblur-resetting-value-with-formik

thumbsup
1
message-simple
0

Downshift component

Hello i need some help. I'm a newbie with react and i'd like to separate in my view the input and the ul. When i tried it rendered nothing... and also i'd like to fetch an api to get the data where should i call the api ? in the ComponentDidMount method…

thumbsup
0
message-simple
2