Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog jumps when moving it and page has been scrolled #15227

Open
chris246 opened this issue Dec 2, 2019 · 0 comments
Open

Dialog jumps when moving it and page has been scrolled #15227

chris246 opened this issue Dec 2, 2019 · 0 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@chris246
Copy link

chris246 commented Dec 2, 2019

Hi,

when moving a dialog (e.g. row evolution of an entry) after the page was scrolled down, the y position (top offset) of the dialog seems to be calculated incorrectly.
This causes the dialog to jump down (sometimes even out of the window) when I drag to move it.

Without looking into the code, it seems as if the offset between page top and dialog top is used for calculating the offset without subtracting the scroll position.
So when the dialog is moved, something like dialog.top = page.scrollY + mouse_delta.Y seems to be done instead of dialog.top = dialog.top + mouse_delta.Y.

Same problem occurs when scrolling horizontally: The X position of the dialog is jumping by the scroll offset.

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 2, 2019
@tsteur tsteur added this to the Backlog (Help wanted) milestone Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants