timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.79k stars 331 forks source link

Reduced motion detected incorrectly for iOS #111

Closed nickisaacs closed 3 years ago

nickisaacs commented 3 years ago

The animations are in reduced motion mode in iOS Chrome(tested on iPhone 11 and 12, iOS 14), even when reduced motion is turned off from accessebility settings. It works great on Safari

bug

nickisaacs commented 3 years ago

Please let me know if this is something I can work on

timolins commented 3 years ago

I tried this on an iPhone X with iOS 14 and I'm not able to reproduce this. Anything I might be missing?

nickisaacs commented 3 years ago

I don't know. Its still happening on chrome for iOS. Tried two separate phones. I figured it was some bug with chrome, so I copied your code that detects this setting and ran a simple test. It worked then. It could be some weird case when used with my app. Let me check this with a vanilla project.

timolins commented 3 years ago

Have you tried it on react-hot-toast.com?

nickisaacs commented 3 years ago

Oh wow, how stupid am I. Yes the demo works well. I think theres something wrong with my app. I’ll need to take a closer look. Thank you for your time!

On Tue, 24 Aug 2021 at 9:49 PM, Timo Lins @.***> wrote:

Have you tried it on react-hot-toast.com?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/timolins/react-hot-toast/issues/111#issuecomment-904786093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATWDL2VCGPLUZZTOU3HRNLT6PBCDANCNFSM5CC277IA .

-- Regards, Nick

timolins commented 3 years ago

No worries :)