mercadolibre / chico

A collection of easy-to-use UI components.
http://chico.mercadolibre.com
MIT License
342 stars 91 forks source link

Use beforeshow/beforehide events to handle the Autocomplete shortcuts #1331

Closed atma closed 7 years ago

atma commented 7 years ago

Using the hide and show events may too late to handle the shortcuts when Collapsible has the animations. By using beforeshow and beforehide we can be sure that shortcuts always will work as expected since this events are triggers always at the same moment independently of animations.