Time picker activates on repeated onRender
tsegreto opened this issue · 1 comments
tsegreto commented
If you have a button that calls picker.render()
and you double or triple click it the time picker will activate, even if you use event.stopPropagation
. This behavior only occurs with timepicker.js, not datepicker.js.
tsegreto commented
I fixed it by removing $el.css( prop, state )
in picker.time.js
animations = function( $el, state ) {
vendors( 'transform' ).map(function( prop ) {
$el.css( prop, state )
})
vendors( 'transition' ).map(function( prop ) {
$el.css( prop, state )
})
}