Skip to content

mirrored prop and Safari (<=18.6) #150

@epavletic

Description

@epavletic

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions