-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixed unresponsive vue-select after clicking custom no-options (#689, #648, #722, and #736) as well as isOptionSelected wrong check for object (#732) #703
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
Conversation
Nice one @MrStobbart. I had a trawl through the git log to see the original reason for that if statement: 350998b Is this something that might have been reintroduced as a side effect? |
@eriknygren Uh thanks for looking that up (should have thought about that myself). |
…ions to not reintroduce old IE bug (sagalbot#703)
…ions to not reintroduce old IE bug (sagalbot#703)
@eriknygren My first fix reintroduces the bug. I found a different solution, that is now also part of this pull request, that should close the issues #689 and #648 and does not reintroduce the IE bug that the commit 350998b fixed. I tested the solution in Internet Explorer 11, Safari, Chrome, Firefox, Opera and Edge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the solution in Internet Explorer 11, Safari, Chrome, Firefox, Opera and Edge.
The behaviour when just clicking the vue-select without having typed something beforehand is still a bit odd, as the options can only be closed by selecting one of them. A solution for that would be to only have this behaviour for IE (so that scrolling is possible) and not for the other browsers. What do you think about that?
@MrStobbart nice work. Wether or not it would be okay to introduce slightly different behaviour in IE or not: I'm afraid that question is above my pay-grade 😎 I'd leave that up to @sagalbot
Anyway I had a look at the code and had a few questions/suggestions, let me know what you think
@eriknygren Ok, I would leave it as it is then and this slightly different behaviour could be done in a different pull request when necessary. Thanks for the feedback on the code and your quick responses! |
@MrStobbart No worries, thank you! |
Huge thanks to @MrStobbart and @eriknygren on this one! I'm not super concerned about different functionality in IE 11 at this point – the hack to fix behavior was causing so many issues for the much larger majority of users. I'm going to get this one in now and can address the IE issues as they come up. Thanks again! |
When it will be released? I have this bug with isOptionSelected |
@victorsilent working on it this week. My plan was to just release 3.0, but if I revert a commit (8c622b6) I can push out 2.6 first. |
try
|
Fixes the the bugs #689 and #648 by making the vue-select still interactive after clicking a custom no-options message. To test this another vue-select was inserted into the test dev.html
This merge request is similar to #691 but prevents the bug when the users has typed something but the no-options message still appears.