Missed events for panel open/panel closed

UI Components for React
Post Reply
Slippa
Posts: 2
Joined: 16 Mar 2021, 16:48

16 Mar 2021, 16:57

Hey, it would be really useful to add events for multiselect/dropdown components when its panels are opened or closed, like in primeNg. (onPanelHide/onPanelShow)

I did not find any handy solution for this and I need to use MutationObserver to catch these things.

Thanks,
Stas.

Slippa
Posts: 2
Joined: 16 Mar 2021, 16:48

17 Mar 2021, 08:22

Actually, found another way to handle this, but still, not the perfect way if someone needs it. Use useRef on multiselect and there are onOverlayExited/onOverlayEntered functions that are not shared to use, but I could make an override and save old functionality

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest