interface icon indicating copy to clipboard operation
interface copied to clipboard

Dropdown windows jumping by the screen

Open MareskoY opened this issue 2 years ago • 6 comments

if change resolution opened dropdowns jumping

actual for all dropdowns

e-mode:

juming1

switching-new

jumping2

and for all other dropdowns

MareskoY avatar Mar 07 '22 17:03 MareskoY

Closing as this is not relevant. It is not a functionality to decrease and increase size while stuff is open. If you change size and then open, the modals, dropdowns are in its correct place

sendra avatar Mar 07 '22 18:03 sendra

@iamanastasia what are your thoughts? What should the expected behavior be in this scenario?

foodaka avatar Mar 07 '22 19:03 foodaka

If anything this is low priority as there is more critical stuff still to do

foodaka avatar Mar 07 '22 19:03 foodaka

@foodaka @sendra Agree about low priority. If to be fixed — dropdown should either:

  1. Stay on its place
  2. Close as user changes screen size (especially for dropdowns in top navbar).

iamanastasia avatar Mar 08 '22 08:03 iamanastasia

Had a quick look at this and the issue is that the modals are docked to a root which does not umount, but receives display: none on resize. Quick fix would be to in fact unmount the dom as it will also unmount the modal ... not sure if that's a good idea though as performance wise the display: none makes sense.

sakulstra avatar Mar 08 '22 13:03 sakulstra

Link T-3392

drewcook avatar Jan 13 '23 00:01 drewcook