primereact
primereact copied to clipboard
ContextMenu has an outline
Describe the bug
In 10.3.0 ContextMenu started to have an outline.
Reproducer
https://codesandbox.io/p/devbox/primereact-demo-forked-qqr8cv?file=%2Fsrc%2Findex.css%3A23%2C16
PrimeReact version
10.3.0
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Looks like a Theme change is required.
The CSS causing it is this...
*:focus {
outline: auto;
}
The CSS causing it is this...
*:focus { outline: auto; }
I added this to show the issue, without it there is no outline at all and it should be present on interactive elements (i.e. row expander arrow).