You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah doh, this is the Semantic docs, not the Semantic React. Even so, it would be nice to see this option implemented. Having the value selected right away when pressing down arrow just feels really unintuitive.
layershifter
changed the title
[Dropdown] selectOnKeydown option from docs is not implemented
Dropdown: selectOnKeydown option from docs is not implemented
Aug 23, 2017
Steps
Used the
selectOnKeydown={false}
option as mentioned in the docs:Expected Result
Keyboard navigation moving selection, without actually changing value.
Actual Result
Value changes and dropdown closes when pressing e.g. arrow down key. + React warning:
Version
0.71.5
I think the problem is here: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/modules/Dropdown/Dropdown.js#L543
This line should be IMO something like this:
if (!multiple && selectOnKeydown) this.makeSelectedItemActive(e)
The text was updated successfully, but these errors were encountered: