Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot use color inputs in b-dropdown with Chrome #4344
Hi, first, thanks for a great package! We've got a color input inside a b-dropdown that has stopped working in Chrome since updating to the 2.0.x version. The reason appears to be that Chrome's colour picker opens a new window, which triggers a loss of focus to the dropdown and it, therefore, closes before the user can
Steps to reproduce the bug
The dropdown should remain open while the user chooses a colour.
This appears to be a race condition with the menu closing when the focus moves out of the menu to the native color picker dialog, as the menu normally closes when it looses focus.
Although I don't understand by Vue doesn't update the v-model when the menu is closes, as the input still exists in the DOM
I'm guessing that there might be a similar issue with a file input (which also opens a broswer native dialog)
Yeah sorry, i went through a few edits after posting the first one since i realised i made a mistake. The current one in the reply should be the most recent one