-
-
Notifications
You must be signed in to change notification settings - Fork 737
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
Select stops working randomly in Chrome in macOS #770
Comments
Same issue here. I have to reload the page, or click 3/4 times to make it work. |
+1 |
Project is completely abandoned |
+1 |
Same issue! +1 |
I found the error in the "event.target.closest" in vsSelect.vue , and I change this method for event.target.getElementsByClassName().
|
@ivangreve awesome!! I hope somebody merges it |
+1 |
@ivangreve your patch have to be improved for cases if there are no options in select |
Yes, you´re right. Now I'm using this piece of code
|
@ivangreve more safe is also there is issue with this component where there are no options (vs-select-item) in it. when you click it it will looks strange have no idea how to fix it |
+1 |
I mailed the author a month ago with no answer so far, I hope he's ok |
I switched to vue-select as this one has so many issues |
I fixed this problem please use https://www.npmjs.com/package/fvuesax |
Select working normally, but the table doesn't working at all. |
i can confirm that the vs-select of that repo is working. Only changed vs-select-component and kept vs-select-item and vs-select-group from vuesax 3.11.15. You see any problems with that? @fbasar |
it's adopted from @okrulik 's comment in lusaxweb#770. it should be considered a workaround, not a proper fix. somehow, `clickBlur` method would randomly capture click event from \<body\>, closest method would always return null, make vsSelect open/close at the same time.
This issue can be reproduced by clicking and holding on the vs-select for more than 100ms. On Chrome, the mouse button release fires the click event which in turn closes the options. On Firefox it works properly because the click event is not fired at this time. That's why it stops working randomly. Changing mouse events from
|
+1 |
latest macOS Catalina, latest Vuesax 3, latest NodeJS 12, latest Chrome (80), NPM
As this video shows, the Select component stops working out of nothing, I'm just unable to use it on Chrome. Just open the Select documentation page and play around clicking selectors and then clicking out side. Some times it works for a while and stops working, and some times it stops working at the first or second use.
https://youtu.be/LahMHi9WAuU
The text was updated successfully, but these errors were encountered: