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

Year selection not showing up on second click in IE 11 #236

Open
El-Devoper opened this issue Jan 23, 2018 · 1 comment
Open

Year selection not showing up on second click in IE 11 #236

El-Devoper opened this issue Jan 23, 2018 · 1 comment

Comments

@El-Devoper
Copy link

The first time you click on the year the list is shown. If you click a second time or on a second dialog i.e. a from and until date selection, the list visually disappears. You can still click and a year is selected but it's a shot in the dark. The polyfills "CustomEvent" and "scrollIntoViewIfNeeded" are included. No console error is thrown.

iexplore_20180123_114759w

@yoyodat
Copy link

yoyodat commented Apr 4, 2018

had the same issue, I fixed this by adding years.classList.remove('zoomOut'); at mdDateTimePicker.js:864
``
...
if (mdDateTimePicker.dialog.view) {
viewHolder.classList.add('zoomOut');
years.classList.remove('mddtp-picker__years--invisible');
years.classList.remove('zoomOut');
years.classList.add('zoomIn');
// scroll into the view
currentYear.scrollIntoViewIfNeeded && currentYear.scrollIntoViewIfNeeded();
} else {
...

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

Successfully merging a pull request may close this issue.

2 participants