Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gersteba opened this issue Mar 13, 2019 · 12 comments

Comments

@gersteba
Copy link

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

@nehakadam
Copy link
Owner

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.

@ansharma45
Copy link

ansharma45 commented Mar 14, 2019

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

@gersteba
Copy link
Author

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!

@AsiaCobra
Copy link

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

@nehakadam
Copy link
Owner

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

@asalves-yft
Copy link

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
Copy link

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

nehakadam added a commit that referenced this issue Mar 23, 2019
1. Fix for Google Chrome (73.0.3683.75, 64-Bit): Issue #155 by
@shareefhiasat
2. Adds korian language i18n files
3. Other maintenance tasks
@nehakadam
Copy link
Owner

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

@dsandstrom
Copy link

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

@dsandstrom
Copy link

@nehakadam Thank you, 0.1.39 fixed it for me.

@firstcloudconsulting
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants