-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
Fix day picker for IE 11 (Also see Issue #668) #691
Conversation
PS. can't silence eslint compelitly because of IE11 detection routine. :-( |
Thanks a lot @smesgr 🙏🏽Going to check it soon once I've prepared my Window virtual machine :) |
Just upgraded to latest 7.x release and seeing similar issue where you can't even pick a date in IE11. Ran the PR from @smesgr locally in an IE11 VM and it worked as expected. |
if (this.hideTimeout) { | ||
this.hideTimeout = setTimeout(() => { | ||
this.hideDayPicker(); | ||
this.hideTimeout = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't setting this.hideTimeout
to null
cause a memory leak here?
FWIW: until there's a new release fixing this, you can roll back to version |
Great Thanks |
I’m adding some more tests before releasing this. |
Fixes Day Picker IE 11 issue #668 for me.
Tested on the following browsers:
IE 11.0.56 @ Windows 10
Chrome/Chromium 65.0.3325.181 @ Windows 10, Ubuntu 18.04 LTS
Chrome 65.0.3325.109 @ Android 4.4
Edge 41.16299.248.0 @ Windows 10
Opera 52.0.2871.40 @ Windows 10
Firefox 59.0.2 @ Windows 10, Ubuntu 18.04 LTS
The proposed solution did not work for me. Therefore try to workaround this issue for IE by using setTimeout.