-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
fix[dark-mode-toggle]: fix dark/light mode toggle on mobile #1332
base: main
Are you sure you want to change the base?
fix[dark-mode-toggle]: fix dark/light mode toggle on mobile #1332
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1332 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 373 382 +9
Branches 94 97 +3
=========================================
+ Hits 373 382 +9 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏻
I am not able to reproduce the issue in production. Can you please check again if the issue is still relevant? |
I checked it on my phone, still facing this issue screen-20250201-212620.mp4And this is after the change (tested on this PRs deployment) screen-20250201-212952.mp4 |
What kind of change does this PR introduce?
Bugfix: Ensures the dark/light mode toggle closes automatically when the user clicks outside the toggle or interacts with other elements on the mobile view.
Issue Number:
Screenshots/videos:
Screencast.from.2025-01-19.19-10-35.webm
If relevant, did you update the documentation?
No
Summary
#1281 - This PR resolves the issue where the dark/light mode toggle on the JSON Schema website did not close automatically when the user clicked outside it or interacted with other page elements in the mobile view.
Does this PR introduce a breaking change?