jasonsalzman / react-add-to-calendar

A simple, customizable, and reusable Add to Calendar button component for React
https://jasonsalzman.github.io/react-add-to-calendar/
MIT License
180 stars 124 forks source link

Latest Safari does not open the event #8

Closed MatejBalantic closed 7 years ago

MatejBalantic commented 7 years ago

In the Safari 10.0.3 on the latest macOS hitting the Apple Calendar button downloads a file Unknown - without any extension. This file doesn't open Calendar, but Text Edit.

Changing/adding extension manually to .ics resolves the problem

manuelitox commented 7 years ago

I just had the same problem.

This issue is because the Download attribute isn't supported yet for stable version of Safari. I tried with the 10.2 and it was fixed.

cc @MatejBalantic @jasonsalzman

acgourley commented 7 years ago

This is a problem for me as well - I was hoping this could support older browsers and mobile safari but currently it does not.