-
-
Notifications
You must be signed in to change notification settings - Fork 80
Description
It appears that the underlying implementation for the mirrored prop does not work in Safari (up to, and including, 18.6). Practically the prop ends up applying a transform="scale(-1, 1)" attribute on the svg root element, and this does not seem to be supported by neither Safari nor Firefox at the time of writing (adding the exact same transform via CSS instead works as expected).
Currently, the above is not made clear in the documentation which opens up for people adapting the pattern without realising the blind spot; especially since Safari for iOS is also affected.
I’m not suggesting any change to the API – I guess some folks will find the prop useful, and they might not have Safari/iOS as a general target audience. But, would it make sense to mention the fact that it won’t work for the above browsers in the documentation, and perhaps suggest an alternative approach?