Open ghost opened 8 years ago
I Have the same issue. This will probably correct this issue:
$timepicker.on('keydown', function (e) { switch (e.keyCode) { case 9: { $timepicker.timepicker('hideWidget'); $('.bootstrap-timepicker-widget').remove(); } } });
Another thing important is verify if have just one $('.bootstrap-timepicker-widget').
The modal of datepicker use this css selector, so before you create another one, you can do that:
if($('.bootstrap-timepicker-widget').size() < 1) { .... Logic to create the timerPicker ... }
I have week wook time panel with this widget. But when switch inputs with Tab "old" widget don't close.