question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for IE 11

See original GitHub issue

I just did a test on IE 11 and I got hit with Object doesn't support property or method 'values' inside Clock and DateTimePicker. It looks like .values is part of ES7, is not supported in IE 11, and Create React App does not Polyfill it.

Can you move to using keys instead? Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
bmuenzenmeyercommented, Dec 18, 2017

This is still broken even with the Array.from polyfill, but not without a workaround!

Troubleshooting

I’ve polyfilled Array.from() using both array.from and the MDN docs.

Neither resolves the issue.

Problem

I think what’s happening is that moment.range() below is not returning a supported iterator in IE. More reports of same change.

utils.js LN#74:

const weeks = Array.from(moment.range(start, end).by('week'));

Workaround

Adding this babel polyfill as mentioned with https://github.com/rotaready/moment-range/issues/172#issuecomment-339256528 resolved the issue for me

image

This seems like an okay, if not pretty heavy-handed workaround until moment-range can resolve this.

Hope this helps someone else 🔬

2reactions
artursmirnovcommented, Dec 13, 2017

@dmtrKovalenko I completely understand, and that’s not an issue, I just added polyfill and the error has gone. But still this is what I see in IE 11:

image

The same for year selector.

I used the polyfill from MDN documentation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internet Explorer 11 - Microsoft Lifecycle
The Internet Explorer (IE) 11 desktop application ended support for Windows 10 semi-annual channel on June 15, 2022. Customers are encouraged to move...
Read more >
Internet Explorer 11 has retired and is officially out of support ...
After 25+ years of helping people use and experience the web, Internet Explorer (IE) is officially retired and out of support as of...
Read more >
Internet Explorer 11 End of Life - Lansweeper.com
Internet Explorer 11 is going end of life on June 15, 2022. Meaning that for most Windows versions, using Internet Explorer 11 won't...
Read more >
Microsoft is finally retiring Internet Explorer in 2022 - The Verge
Microsoft ended support for Internet Explorer 11 for the Microsoft Teams web app last year, and it's planning to cut it off from...
Read more >
Platform end of support for Internet Explorer 11
End of support for Internet Explorer 11. Windows 2008 R2 and Windows 7 SP1 are no longer supported by Microsoft as of January...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found