Skip to content

Fix stepper icons occasionally not being displayed correctly in Onboarding Wizard #6496

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

Merged
merged 2 commits into from
Jul 30, 2021

Conversation

pierlon
Copy link
Contributor

@pierlon pierlon commented Jul 30, 2021

Summary

This PR fixes an issue with the "check" SVG icon not rendering correctly on the Onboarding Wizard page. This seems to only affect Safari and stems from the SVG icon being repeated multiple times on the page, causing the IDs within the SVG to be repeated as well. The fix for this then would be to use a unique IDs for each instance of the SVG icon on the page.

This CSS-Tricks blog post helped me to debug the issue at hand and I noticed that the Web Stories team also ran into a similar issue in GoogleForCreators/web-stories-wp#8401.

Demo

Before

before.mp4

After

after.mp4

Fixes #6490

Checklist

  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@pierlon pierlon added this to the v2.1.4 milestone Jul 30, 2021
@pierlon pierlon requested a review from westonruter July 30, 2021 00:06
@github-actions
Copy link
Contributor

github-actions bot commented Jul 30, 2021

Plugin builds for 8182823 are ready 🛎️!

Copy link
Member

@westonruter westonruter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to reproduce the issue in Safari, and the changes prevent the issue from happening. 👍

@westonruter westonruter merged commit 890617a into develop Jul 30, 2021
@westonruter westonruter deleted the fix/6490-stepper-icons branch July 30, 2021 00:58
westonruter pushed a commit that referenced this pull request Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Onboarding wizard sidebar stepper not showing step icons
2 participants