Open rcarmo opened 3 years ago
Modals auto-resize. Currently the only way to adjust the size is to set the weight
property of a modal.
Yes, I have come to realize that. I need to draw a window-sized rectangle and place it arbitrarily on screen, so I guess there is no way to do that in Phoenix currently.
On 16 Jun 2021, at 21:36, Kasper Hirvikoski @.***> wrote:
Modals auto-resize. Currently the only way to adjust the size is to set the weight property of a modal.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
You can arbitrarily place the modal anywhere on the screen, but yes if would want to have an exact size, that is not currently possible. I’ll think about that.
I'm trying to draw window overlays and drag regions, and It seems I can't resize a Modal (which would do nicely for a transient full-window overlay) in any way, at least according to the docs.
Any workarounds?