-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
For disabled date, date is clickable in Internet explorer 8 #288
Comments
This is still an issue. There is an error in the _onMouseDown method when testing whether the button is disabled. https://github.com/dbushell/Pikaday/blob/master/pikaday.js#L430
The is-disabled class is on the parentNode, so the code has to read
I haven't read through the hole thing but it seems to do the trick. Maybe this could be fixed on master, @dbushell? |
Make disabled buttons not clickable in IE 10 and below [closes #288]
* master: (44 commits) Make disabled button not clickable in IE 10 and below [closes Pikaday#288] add formatStrict to Configuration section of README set default value for formatStrict option to false add options flag for strict date parsing with moment Add example to show days in next and previous months. Add simple disable day optional function example. don't change the container example correct data attributes for days in next and prev months Don't set pointer-events: none for days outside current month Show days in next and previous months Release 1.4.0 [Pikaday#410] fixing invalid selector for next and prev buttons redraw after setMinDate() and setMaxDate() - fixes Pikaday#432 remove data after pikaday destroy - fixes Pikaday#382 don't change the container example correct data attributes for days in next and prev months Release 1.4.0 redraw after setMinDate() and setMaxDate() - fixes Pikaday#432 [Pikaday#410] fixing invalid selector for next and prev buttons Add triangle theme example. ... Conflicts: scss/pikaday.scss
When we use disable weekends feature of pikaday, the date buttons for disabled date is still clickable in IE8, as the css .is-disabled .pika-button has style 'pointer-events:none;' is only supported for IE9 and above.
As pikaday is supported for IE7 and above, please provide solution.
The text was updated successfully, but these errors were encountered: