-
-
Notifications
You must be signed in to change notification settings - Fork 107
fix(dropdown): 🐛 fix a bug with dropdown actives when used in selects #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dropdown): 🐛 fix a bug with dropdown actives when used in selects #134
Conversation
I'll check the changes and test them in the evening. |
@ChildishGiant I tested this change and it seems, that it reverts your improvements in #98 |
As a solution, I found this one: https://stackoverflow.com/a/48500276/2166673 It might be not supported in some browsers, but as for me, those browsers can live with a default non-smooth scroll |
I remember checking that the function still worked for me so I'll have to take a look at this. |
Hey, You might be busy but I just wanted to check if there is an update regarding the last comment. |
FsNV9kRi3n.mp4I've checked again and I'm still not having issues. Could you show the issues you're having? |
48adc48
to
b0be6a6
Compare
Hi @ChildishGiant, sorry if I'm doing something wrong, but I still have the problem dropdown_jump.mp4I'm testing in Chrome, and using my own testbed + vue. I don't use compiled dist.js file, but rather dropdown.js directly. May be you could try rebuilding the dist file locally? |
I've cloned the repo to a different folder, switched branch and built with no issues showing. Are you sure you're on the right branch and have built after changing over? If anyone else could check this that'd be great |
Alright, I found where our testing issue is: autocomplete uses custom handling for up/down keys. see autocomplete.js |
Ah, there we go. Thanks for pointing that out. Should be all fixed on all kinds of dropdowns now. |
Thanks for the fix! But could we go with the
|
I've updated it to the method you've linked and agree that it is better. I'm sorry for the continued back and forth about this issue. Using smooth scroll combined with the background transition does cause readability while holding to scroll to not be great, sadly. The only real option to fix this would be lower the transition time and disable smooth scroll but I think maybe it's best to keep it as is. 6piY3hHNzO.mp4 |
Looks good, thanks! |
I also have the issue when clicking on Dropdowns of the Select Element in the current Website. Whats the status of this fix? Looking forward for a merge. Greets |
This would close #133
Types of changes
Checklist: