UI-Dropdown
UI-Dropdown copied to clipboard
"visible" class stays on dropdown div after adding a user value
This can be reproduced on the examples page: http://semantic-ui.com/modules/dropdown.html#tagging-and-user-additions
Inspect the dropdown div in developer tools. Clicking it adds the "visible" class as expected. Enter a value that has no match in the list and tab out of it. The "visible" class is still there. I debugged it a bit, and found out that it is properly removed, but then for some reason the callback for 'module.animate.show' on line 476 is invoked again (shouldn't this only be called the one time 'show' is finished?) which adds the class again.