DateTimePicker icon indicating copy to clipboard operation
DateTimePicker copied to clipboard

In Google Chrome (73.0.3683.75, 64-Bit): Picker closes immediately after showing

Open gersteba opened this issue 6 years ago • 12 comments
trafficstars

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

gersteba avatar Mar 13 '19 13:03 gersteba

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.

nehakadam avatar Mar 13 '19 14:03 nehakadam

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(""); // });

ansharma45 avatar Mar 14 '19 12:03 ansharma45

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!

gersteba avatar Mar 14 '19 15:03 gersteba

showing error in browser console for me

DateTimePicker.min.js:64 Uncaught ReferenceError: oDTP is not defined at HTMLDocument. (DateTimePicker.min.js:64) at HTMLDocument.dispatch (jquery-1.12.4.js:5226) at HTMLDocument.elemData.handle (jquery-1.12.4.js:4878)

Thanks

AsiaCobra avatar Mar 19 '19 05:03 AsiaCobra

In which example you are encountering this issue? Please mention file name.

nehakadam avatar Mar 19 '19 05:03 nehakadam

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)

asalves-yft avatar Mar 22 '19 11:03 asalves-yft

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

asalves-yft avatar Mar 22 '19 11:03 asalves-yft

Fix by @shareefhiasat is working for me. Please check by using latest library javascript files.

nehakadam avatar Mar 23 '19 09:03 nehakadam

@nehakadam Can you publish a new version that includes the fix?

dsandstrom avatar Apr 05 '19 22:04 dsandstrom

@nehakadam Thank you, 0.1.39 fixed it for me.

dsandstrom avatar Apr 08 '19 16:04 dsandstrom

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.

firstcloudconsulting avatar Apr 22 '19 23:04 firstcloudconsulting

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.

firstcloudconsulting avatar Apr 26 '19 00:04 firstcloudconsulting