DateTimePicker
DateTimePicker copied to clipboard
In Google Chrome (73.0.3683.75, 64-Bit): Picker closes immediately after showing
Hello!
In Google Chrome (73.0.3683.75, 64-Bit): The DateTimePicker closes immediately after showing. You can try the demo 'Basic Usage of DateTimePicker with '. Who can confirm this?
Kind regards, Gerald
I have encountered the same error on Chrome Version 73.0.3683.75 (64-bit). I will check and fix it. Thank you for reporting.
for quick fix i just tried this inside _addEventHandlersForPicker function just commented this code // $(document).on("click.DateTimePicker", function(e) // { // console.log('_addEventHandlersForPicker'); // oDTP._hidePicker(""); // });
for quick fix i just tried this inside _addEventHandlersForPicker function just commented this code // $(document).on("click.DateTimePicker", function(e) // { // console.log('_addEventHandlersForPicker'); // oDTP._hidePicker(""); // });
thank you!
showing error in browser console for me
DateTimePicker.min.js:64 Uncaught ReferenceError: oDTP is not defined
at HTMLDocument.
Thanks
In which example you are encountering this issue? Please mention file name.
Hello!
In Google Chrome (73.0.3683.75, 64-Bit): The DateTimePicker closes immediately after showing. You can try the demo 'Basic Usage of DateTimePicker with '. Who can confirm this?
Kind regards, Gerald
same bug here, Version 73.0.3683.75 (Official Build) (64-bit)
for quick fix i just tried this inside _addEventHandlersForPicker function just commented this code // $(document).on("click.DateTimePicker", function(e) // { // console.log('_addEventHandlersForPicker'); // oDTP._hidePicker(""); // });
work for me
Fix by @shareefhiasat is working for me. Please check by using latest library javascript files.
@nehakadam Can you publish a new version that includes the fix?
@nehakadam Thank you, 0.1.39 fixed it for me.
Still same issue here with Version 73.0.3683.103 (Official Build) (64-bit), tested with 0.1.38 and 0.1.39. I also tried the temporary fix above with no luck.
Okay, my issue was specifically related to the fact that the DateTimePicker modal dialog DIV element was within another jQuery modal dialog's DIV element. I moved it outside and this problem went away. There is still a conflict that I think should be corrected - but I was also unable to track it down in a short time, and element outside of the other resolved the issue.