Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Changes to marker references post-render are not updating in Safari #29849

Open
TheBenevolentJoker opened this issue Jun 11, 2024 · 0 comments
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@TheBenevolentJoker
Copy link

TheBenevolentJoker commented Jun 11, 2024

React version: 18.0.0

Steps To Reproduce

  1. Ensure you are using the most recent version of Safari, which is currently Version 17.5 (19618.2.12.11.6). The issue described does not manifest in Chrome or Firefox.
  2. Construct an SVG layout that includes two distinct markers along with a path element.
  3. Modify the marker-end attribute of the path element, switching from the first marker to the second, through a rendering cycle. This can be initiated by a state change (as demonstrated in my example, using setState).
  4. Observe that the rendering cycle, which should alter the marker end color to blue (as per my code example), fails to update the marker end.
@TheBenevolentJoker TheBenevolentJoker added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

1 participant