Modal fixed position does not work properly when an ancestor has set transform property #453
Closed as not planned
Modal fixed position does not work properly when an ancestor has set transform property #453
Modal's backdropposition: fixeddoesn't work properly if its ancestor has settransformproperty because it then acts as a containing block.One of the issues with that is when you want to have a
Modalinside anotherModal, it is positioned relative to the parentModalinstead of the browser viewport. We need to use something else thantransform: translate(-50%, -50%)to compensate forwidthandheightof theModalitself.