iTwin / appui

Monorepo for iTwin.js AppUi
MIT License
8 stars 2 forks source link

Popups - dialogs appearing below the popped out widget #962

Closed jzbuchalski closed 3 weeks ago

jzbuchalski commented 1 month ago

Describe the bug

If a widget is popped out (on a single monitor), any dialog shown from that popped out widget will appear below the popout.

To Reproduce

No response

Expected Behavior

Should appear above the popped out widget.

Screenshots

image

Desktop (please complete the applicable information)

No response

Additional context

No response

ignas-k commented 1 month ago

I assume your widget uses UiFramework.dialogs.modal.open which is an old API therefore it is slightly problematic. By default it renders dialogs in the main window which is what is happening in your case. Unfortunately, there isn't anything we can do to fix this, however, you can fix this issue yourselves:

jzbuchalski commented 1 month ago

Excellent, we will give these suggestions a try.