Drag and resize Dialog

UI Components for React
Post Reply
Posts: 4
Joined: 18 Jun 2017, 01:07

26 Oct 2019, 04:48

Decided to take the plunge and update react and primereact to latest versions, but I have an issue now where I depended a lot on the fact that dialogs were drag-able AND re-sizable. Both of these very basic functionality seems to have disappeared.

What is the alternative? (apart from switching libraries).

Motivation for drag:
Sometimes dialog pops up but you still want to see what was behind it. Maybe in edit you need to refer to something in background.
If dialog is not modal, I sometimes open a few dialogs, but with all opening on top of each other and not movable, that functionality is gone.
In the meantime I am using react utility/library called "re-position" to at least get dragging

Motivation for re-size:
Sometime a drop-down is long-ish and scrolls, but the drop may be related to something else in the form which is now scrolled out of view. In these cases resizing the form brings everything back in view.

Posts: 5
Joined: 09 Oct 2019, 16:52

07 Nov 2019, 14:15

Very useful requirement. We look forward to see the answers. Thanks.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest