You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Nov 29, 2023
Describe the bug
Reproducer
https://primereact.org/treeselect/#check
PrimeReact version
latest
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
primereact/components/lib/hooks/useOverlayListener.js
Line 47 in 50501d1
overlayRef.current.contains(event.target)
The selected state is rendered by svg,but
contains
not work for svgAbout
https://stackoverflow.com/questions/57664614/why-is-svg-not-identified-inside-a-node-using-contain-method-using-javascript
https://stackoverflow.com/questions/66743891/why-a-click-on-svg-element-is-not-captured-by-node-contains-method
Expected behavior
No response
The text was updated successfully, but these errors were encountered: