I'm using p-dialog from PrimNG. With [draggable]
enabled, I can prevent the modal from being dragged off-screen on the left and top using [minX]
and [minY]
.
Is there a way to prevent the modal from being dragged off-screen on the right and bottom?
I am using https://www.primefaces.org/primeng/#/dialog in a pretty standard implementation.