You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cloneposition incorrect with scrolled element in 1.7.3 #328
Our code worked fine in 1.7.2 - moved to 1.7.3 and our box comes up below the cloned element by the amount that the div is scrolled. Or to the right of the cloned element if scrolled horizontally.
The base element is a td in a table inside several divs. We have a reusable pop-up div that covers the display td to provide a drop-down choice.
I had a similar problem. I upgraded from 1.7 to 1.7.3 and my div that was supposed to display below the text field where the user types displays at the bottom of the page. I fixed it by replacing the private function pageScrollXY() that the clonePosition() logic calls. The pageScrollXY() was changed from this:
Activity
rparada commentedon Apr 21, 2021
I had a similar problem. I upgraded from 1.7 to 1.7.3 and my div that was supposed to display below the text field where the user types displays at the bottom of the page. I fixed it by replacing the private function pageScrollXY() that the clonePosition() logic calls. The pageScrollXY() was changed from this:
to this:
Now everything works fine. I tested on macOS on Safari, Microsoft Edge, Firefox, Chrome and Safari Technology Preview.
kiatng commentedon Oct 28, 2022
The fix in this commit 560bb59 works for me. This issue can be closed.