Closed UtkarshSiddhpura closed 3 months ago
The popup doesn't display at the right place.
window.srollY (the amount of scroling done in pixels)
into the account.popup.show(x, y + window.scrollY)
y + window.scrollY
), which is not needed as the actual y is still within the screen.The Fix is
position: absolute
for a popup which is positioning itself relative to an element of height 100vh. Just shown in above commit here (you could also add position: relative
on it, but not necessary here).
The popup doesn't display at the right place.
I think the popup test here should be changed.