🐛 Bug: Dark/Light Mode Toggle Doesn't Close Automatically on Mobile #1281
Labels
🐛 Bug
Indicates that the issue is a bug or defect.
Status: Accepted
It's clear what the subject of the issue is about, and what the resolution should be.
Status: In Progress
This issue is being worked on, and has someone assigned.
Describe the bug
On the mobile view of the JSON Schema website, when the dark/light mode toggle is opened, it remains open even after the user clicks outside of the toggle or interacts with other elements on the page. This behavior clutters the interface and negatively impacts usability.
Steps To Reproduce
Expected Behavior
The dark/light mode toggle should close automatically when:
Screenshots
Screencast.from.2025-01-10.16-56-02.webm
Device Information [optional]
Are you working on this issue?
Yes
Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)
No
The text was updated successfully, but these errors were encountered: