You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moreover we could actually "cheat" and after selecting option keep the button pressed, move cursor outside the dropdown and release it. That would cause event to fire, without actually closing the dropdown! Could be confusing :)
I would suggest moving the trigger method into mouseup.timepicker click.timepicker handler, or doing it bootstrap style with hiding and hidden events, former fired right before and latter right after dropdown is hidden.
The text was updated successfully, but these errors were encountered:
When option is selected by clicking, the
hideTimepicker
event will fire before the dropdown is actually closed, as seen here:jquery-timepicker/jquery.timepicker.js
Lines 721 to 728 in 99f3247
However when using api method
hide
, the same event will fire only after dropdown is closed:jquery-timepicker/jquery.timepicker.js
Lines 302 to 303 in 99f3247
Moreover we could actually "cheat" and after selecting option keep the button pressed, move cursor outside the dropdown and release it. That would cause event to fire, without actually closing the dropdown! Could be confusing :)
I would suggest moving the
trigger
method intomouseup.timepicker click.timepicker
handler, or doing it bootstrap style withhiding
andhidden
events, former fired right before and latter right after dropdown is hidden.The text was updated successfully, but these errors were encountered: