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

With Autoscroll turned on, if resize task and release mouse outside browser window, library will do infinite scrolling #101

Open
zxsure opened this issue Sep 25, 2023 · 1 comment

Comments

@zxsure
Copy link

zxsure commented Sep 25, 2023

As the title described, is there a way to stop the infinite scrolling after mouse up outside the browser window and set proper task end date accordingly.

@gearcoded
Copy link

Gantt doesn't have a built-in way to detect mouse events outside the current frame or the browser window. If you release the mouse button within the frame/window, Gantt will detect that and stop dragging or resizing a task.
I added it as a feature request, so the dev team will add it in the future, but I cannot give you any ETA.

For now, you need to implement a custom solution by using the Gantt API and Javascript.

Here is an example of how it can be implemented:
https://snippet.dhtmlx.com/5lj2t4o3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants