Skip to content

fix: drop the blue focus ring on editor inputs - #19

Merged
gajjug004 merged 1 commit into
developfrom
fix/answer-input-focus-ring
Oct 4, 2026
Merged

gajjug004 merged 1 commit into
developfrom
fix/answer-input-focus-ring

Conversation

@gajjug004

Copy link
Copy Markdown
Collaborator

Problem

When typing in the quiz editor, a thin blue browser focus ring showed inside the answer tiles, around the quiz title and on .field inputs. It comes from the forms reset in frappe-ui and clashes with the theme.

Solution

Add focus:ring-0 to the answer and title inputs, matching the join page, and set box-shadow: none in .field:focus.

Before

focus-ring-before.png

After

focus-ring-after.png

frappe-ui's forms reset adds a blue box-shadow ring on focus, which
showed inside the answer tiles, around the quiz title and on .field
inputs, clashing with the theme.
@gajjug004
gajjug004 merged commit 846c293 into develop Oct 4, 2026
2 checks passed
@gajjug004
gajjug004 deleted the fix/answer-input-focus-ring branch October 4, 2026 16:58
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant