-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05abb5b
commit 2f20a83
Showing
3 changed files
with
77 additions
and
104 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
- [x] `:helpTextSlot="$slots.helpText"` | ||
- [ ] clicking an option counts as blur haha | ||
|
||
- [ ] FIX: if field is multi and not empty and not interacting, hide input | ||
## TODOs | ||
|
||
- [x] `:helpTextSlot="$slots.helpText"` | ||
- [x] double clicking should keep it open | ||
- [x] selecting an option needs to refocus the field | ||
- [x] if field is multi and not empty and not interacting, hide input (not needed anymore) | ||
- [ ] restore arrow-key navigation for options (isHovered) | ||
- [ ] (optional) add slot support for options | ||
- [ ] check that `enter` from `input` doesn't trigger the submit (of a form it's used within) | ||
|
||
## 2022-04-20 | ||
|
||
- Honestly, the most realistic and sustainable solution is to either move the search query inside the dropdown or to not show the tags | ||
|
||
## V2 | ||
|
||
1. Clickoutside <https://stackoverflow.com/questions/152975/how-do-i-detect-a-click-outside-an-element/38317768#38317768> | ||
2. support `tabIndex` | ||
3. check if data-test is implemented sufficiently | ||
- [x] Clickoutside (done with tippy callbacks) | ||
- [ ] support `tabIndex` | ||
- [ ] check if data-test is implemented sufficiently |