Impact on movable dialog position of resizing browser window. #684
Replies: 1 comment 5 replies
-
Hey @RaphaelVanierBentley, I assume you are using https://www.itwinjs.org/reference/core-react/dialog/dialog Seems like iTwinUI 2.x sets the Do you have a sandbox or a gif that showcases the interaction? |
Beta Was this translation helpful? Give feedback.
-
Hello,
We have a dialog which has the attribute movable={true}. We are trying to align this dialog position to the bottom with CSS, when the feature is started, the dialog look like this:
But if we resize the dialog, shrink it and remaximize it again, it end up at the center of the screen:
The problem seem to be that when the dialog is movable, a transform: translate(98px, -323px); css style is applied inline on the iui-dialog tag which overwrite any placement CSS styles like top, bottom, left and write.
Is this a bug or a feature? Can it be fixed somehow?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions