OverlayPanel: cannot get access to current visible state #6451
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
I cannot find the way to get current visible state of OverlayPanel. It's needed to call function when overlay is toggled.
I see that you already have a
state
object inside this component. Please, inject it into your external APIReproducer
https://stackblitz.com/edit/vitejs-vite-drqy7m?file=src%2FApp.tsx
PrimeReact version
10.6.3
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: