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

🐛 replaced labels don't get removed from the DOM on mobile #4580

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

sophiamersmann
Copy link
Member

@sophiamersmann sophiamersmann commented Feb 20, 2025

Switching between relative mode in scatter plots updates the axis labels, but the replaced label wasn't removed from the DOM. Somehow I couldn't reproduce this on Desktop but it did happen on my phone. Anyway, adding a key does the trick.

@github-actions github-actions bot added the staging-viz Let SVG tester fail silently in CI label Feb 20, 2025
@owidbot
Copy link
Contributor

owidbot commented Feb 20, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-fix-mobile-axis-labels

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-02-20 09:06:05 UTC
Execution time: 1.19 seconds

@sophiamersmann sophiamersmann marked this pull request as ready for review February 20, 2025 09:51
@sophiamersmann sophiamersmann merged commit 52aa4d2 into master Feb 20, 2025
33 checks passed
@sophiamersmann sophiamersmann deleted the fix-mobile-axis-labels branch February 20, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staging-viz Let SVG tester fail silently in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants