DRAFT - WIP: kselect in kmodal, existing vendored UiPopover edition #422
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO: Fix highlighting functionality & ability to arrow up/down through options
i've left some notes about my struggles in
KeenUISelect.vue
, lines 793-818 & replicated below:resources i tried to use to inform my work:
UiPopover
with functioning highlighting & arrow up/down through options in KDropdownMenu.vueDescription
Previously, if
KSelect
was within a modal its height would be constrained to that of the modal and unnecessary scrollbars would sometimes appear. By nestingKeenUiSelect
within aUiPopover
component,KSelect
is no longer limited to the dimensions of the modal and is rendered in a separate part of the DOM.Issue addressed
Addresses #324: Kmodal should be able to show dropdowns select without making scrollbars appear
Before/after screenshots
Steps to test
KSelect
within aKModal
. Once you're running this branch of KDS locally, you can locate it at http://localhost:4000/kselectinkmodal and do any testing or code experimentation that you want thereKSelect
s withinKModal
s, of course!(optional) Implementation notes
Need to resolve issues with not highlighting-upon-hover (without the help of CSS targeting
:hover
on the relevant element, as that is just disguising a larger problem of our current highlighting code not working as intended) & no current ability to arrow up/down to focus through elements inKSelect
options listTesting checklist
changelog
Reviewer guidance
Comments