anvaka / panzoom

Universal pan and zoom library (DOM, SVG, Custom)

Home Page:https://anvaka.github.io/panzoom/demo/attach-via-script.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is there a black border when I press the keyboard

bo88430 opened this issue · comments

image
Where does this black border come from when I click on the dom and I press the keyboard and it comes up, and Google Chrome has this problem

Can you provide a replicable JSFiddle or similar?
I feel like this is something related to your system's keyboard navigation highlight.

Figured it out - try this CSS:

*:focus-visible {
  outline: none;
}

Thank you very much, we changed the version of Google Chrome to solve the problem, but it is best to use your way.