Skip to content

Comments

Fix Canvas blue outline when focused with Tab#2450

Merged
eymar merged 1 commit intojb-mainfrom
ok/fix_canvas_outline_when_focused
Oct 8, 2025
Merged

Fix Canvas blue outline when focused with Tab#2450
eymar merged 1 commit intojb-mainfrom
ok/fix_canvas_outline_when_focused

Conversation

@eymar
Copy link
Member

@eymar eymar commented Oct 7, 2025

Add a css property to disable the outline.

Fixes https://youtrack.jetbrains.com/issue/CMP-9040

Testing

N/A

Release Notes

Fixes - Web

  • Removed an outline on a Canvas element when it's focused

@eymar eymar requested a review from Schahen October 7, 2025 14:57
Copy link

@Schahen Schahen left a comment

Choose a reason for hiding this comment

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

I've tried to come up with other potential cases where we might need to reset default values but so far nothing comes to my mind.

The other thing that we can do in theory is to style the shadow container so that any child content will be styled the way we won't

@eymar eymar merged commit b624291 into jb-main Oct 8, 2025
10 checks passed
@eymar eymar deleted the ok/fix_canvas_outline_when_focused branch October 8, 2025 15:42
eymar added a commit that referenced this pull request Oct 22, 2025
Add a css property to disable the outline.

Fixes https://youtrack.jetbrains.com/issue/CMP-9040

## Testing
N/A

## Release Notes
### Fixes - Web
- Removed an outline on a Canvas element when it's focused
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.

2 participants