jasonleibowitz / react-add-to-calendar-hoc

Simple Unopinionated React Add to Calendar Button. Bring your own components.
http://leibowitz.me/react-add-to-calendar-hoc/docs/
MIT License
70 stars 40 forks source link

Object.values is incompatible with IE11 #23

Closed KenneyE closed 5 years ago

KenneyE commented 5 years ago

Bug report

Describe the bug

The package is incompatible with IE11 due to the usage of Object.values. With this package included in my application, I receive the following error when testing on IE11 in Browserstack: Object doesn’t support property or method ‘values’

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Use this package in a React application
  2. Load the application in IE11

Screenshots

Screen Shot 2019-05-29 at 10 09 26 AM

System information

Additional context

I have a fork replacing all of the instances of Object.values with and IE11 compatible code snippet. I'll attach the PR to this issue.

jasonleibowitz commented 5 years ago

This will be included in 1.0.9