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

demo not working in ie11 #42

Open
Talat-Da3at opened this issue Jan 10, 2020 · 3 comments
Open

demo not working in ie11 #42

Talat-Da3at opened this issue Jan 10, 2020 · 3 comments

Comments

@Talat-Da3at
Copy link

when i try to open demo at
https://guiqui.github.io/react-timeline-gantt/index.html

via ie11 i get error
Object doesn't support property or method 'trunc'

@carloshenriqueribeiro
Copy link

IE11 is not supported but you can clone the git project and change it from Math.trunc to Math.round

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round
image

@carloshenriqueribeiro
Copy link

@guiqui could you close this issue ?

@balbatross
Copy link
Contributor

We could polyfill Math.trunc with webpack right?

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

3 participants