awesomplete
awesomplete copied to clipboard
Disallow multiple dropdowns
To reproduce the error:
- In a text box with awesomeplete enabled, choose an enumerated value.
- Blur the text box
- Focus the text box, displaying the drowdown.
- All without the mouse, select some portion of the text (even all of it if minChars == 0) and delete the selected text
- Observe that a second box appears but quickly covers the original box.
- Click one of the options closing the box.
- Observe that another box is still present.
Sometimes there are several although I can only reliably reproduce a two-box scenario.
See screenshot below. This was observed in: FF 52.2.1 Chrome Canary 61.0.3150.0 Chrome 59.0.3071.115
See below for a screenshot of the developer console.
In addition a minor style typo was corrected and a Webstorm (Jetbrains IDE) hidden directory was added to .gitignore.
Hey, thanks for contributing!
If calling this.open()
is a problem when the dropdown is already open, shouldn't the isOpened
check be in the open()
method itself?
Experiencing the same issue with Turbolinks and Ruby on Rails. Any update on this?