focusing an element with is x-show hidden, creates issues with wrap() #4637
Unanswered
SpyridonLaz
asked this question in
5. Bugs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i have a select box with search. when elements are filtered out , they become hidden.
but then i cannot focus list items with up and down arrows.
I edited the livewire.js and put { displayCheck: "full" } and then it worked as expected,
so i am hoping you could add some optional parameter for that in future as focus is most often used within lists and a bug like this is a big hassle.
another option would be to modify isHidden() so that it also checks for display:none :
if (getComputedStyle(node).visibility === "hidden" || getComputedStyle(node).display === "none") {
return true;
}
Beta Was this translation helpful? Give feedback.
All reactions