angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.3k stars 6.74k forks source link

<select> gets stuck when typeahead-select-on-blur="true" in Safari #6542

Open gligoran opened 7 years ago

gligoran commented 7 years ago

Bug description:

select element gets stuck on Safari, if you click on it when a typeahead with typeahead-select-on-blur set to true is showing choices.

Link to minimally-working plunker that reproduces the issue:

https://embed.plnkr.co/RGBbGEWoZyr8kbRddFiU/

Steps to reproduce the issue:

  1. open the plunkr above in safari on mac os
  2. type a few characters into the typeahead and wait for the results (ex. type in al)
  3. click directly on the select element without selecting any typeahead choice
  4. select something in the select
  5. the select is now locked; it will not show the value you selected and you cannot open the select options at all

Version of Angular, UIBS, and Bootstrap

Angular: 1.6.1

UIBS: 2.5.0 (but it doesn't work from 0.13.4 on)

Bootstrap: 3.3.7