weightless icon indicating copy to clipboard operation
weightless copied to clipboard

Only apply focus style when focus is made through keyboard navigation

Open gaoryrt opened this issue 6 years ago • 4 comments

the first demo in the document got this problem: May-23-2019 10-17-57

chrome 75.0.3770.38

gaoryrt avatar May 23 '19 02:05 gaoryrt

it also happens in safari, 12.0.3 (14606.4.5)

gaoryrt avatar May 23 '19 02:05 gaoryrt

Thanks a lot for opening an issue! ☀️The behavior of the switch you are showing in your GIF is actually intended - it is meant to show what element currently has the focus.

But I understand why you don't think this is intended since you are not using a keyboard for navigation. I think it's a great idea to change the default behavior of all focus styles to only be applied when the focus is made through keyboard navigation.

If you agree, I think I'll change the title of your of your issue to something like "Only apply focus style when focus is made through keyboard navigation".

andreasbm avatar May 23 '19 12:05 andreasbm

Thank you for your explanation, I didn't realize that.

gaoryrt avatar May 24 '19 02:05 gaoryrt

That would be great if this feature only triggered through keyboard navigation.

gaoryrt avatar May 24 '19 02:05 gaoryrt