-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This used to be on the `ComboboxOption` itself, this also means that if you are going from option A to option B, then you would see this: - Leave option A (goToOption(Nothing)) - Enter option B (goToOption(option b)) Both cases would use a `goToOption` call which re-renders everything. Instead we can listen for the `(mouse|pointer)Leave` on the `ComboboxOptions` itself to run `goToOption(Nothing)`. Now, when you go from option A to option B, then you would only see this: - Enter option B (goToOption(option b)) Which internally sets the state to the active option B.
- Loading branch information
1 parent
e518b20
commit b557346
Showing
2 changed files
with
11 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters