-
Notifications
You must be signed in to change notification settings - Fork 157
Selecting item from list doesn’t fired @hit on Safari #14
Comments
Thanks for the feedback. I don't have any solution yet, I'll have to find a way to test on Safari. |
I started digging on this and
While this provides the clicked element in Chrome, the value in Safari is Weird as Safari seems to be ok on this:
Don't think this applies here... |
Found a nice explanation here: https://stackoverflow.com/questions/42764494/blur-event-relatedtarget-returns-null I just tested adding |
Hi, the same problem manifested itself in IE11, the Blur event does not return a relatedTarget, it worked when I changed the event to focusout. Can you fix the release? |
Huh, it's working for me in Safari, what version of Safari are you using? |
Can confirm, I am encountering the same issue in IE11. |
Same issue here on IE11. Can you please please fix the release ? |
Also confirmed that IE11 does not fire the @hit event. Fix would be much appreciated here. |
please give some solution for the @hit is not firing in IE 11. Banging my head for this issue. Please provide some fix... |
After looking into why the
When I removed the v-show and the event works in IE11; however, this breaks the display logic and the list remains visible. I tried swapping |
Solved with an faked animation and an duration that is quite long enough to count as user interaction: /* Fake for IE. because it doesn't emit the hit event when using display:none */
.vbt-autcomplete-list--hidden {
animation-name: hide;
animation-fill-mode: both;
animation-duration: .3s;
animation-timing-function: linear;
}
@keyframes hide {
to {
visibility: hidden;
display: none;
}
} |
@Raisi do a pull request 👍 |
Thank u very much! Works perfect! |
Thanks a lot! Since I needed to fix this ASAP I created a component to apply the workaround. I didn't like copying the whole template section but I found no other quick solution (other than forking this package).
|
The VueBootstrapTypeahead component doesn't work correctly on IE11: alexurquhart/vue-bootstrap-typeahead#14 There's a fix proposed in the issue, so right now, without a new release we just can override the component with the fix. https://phabricator.endlessm.com/T31418
On Safari, selecting item from the list doesn’t do anything! Any solution?
The text was updated successfully, but these errors were encountered: