primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.48k stars 984 forks source link

ContextMenu has an outline #5695

Open mtsh1000 opened 7 months ago

mtsh1000 commented 7 months ago

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

melloware commented 7 months ago

Looks like a Theme change is required.

melloware commented 7 months ago

The CSS causing it is this...

*:focus {
    outline: auto;
}
mtsh1000 commented 7 months ago

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).