PrimeReact dialog on Top

UI Components for React
Post Reply
SteffenJuhl
Posts: 1
Joined: 12 Aug 2022, 14:39

12 Aug 2022, 14:52

I am using PrimeReact Dialog component to render multiple identical non modal dialogs, just with different data in each.
I want the dialog that is clicked to be on top. How to achieve this?
The problem is that first dialog will get a zIndex and the next the same +1. This means that the one i opened at first will always be behind the other(s). We have tried to manipulate the zIndex as style on the Dialog which append the zIndex just fine, the problem is just that it is the wrong place.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests