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

Gantt Layout and Tooltip Behavior in DHTMLX Gantt #134

Open
xkfe opened this issue Dec 10, 2024 · 1 comment
Open

Gantt Layout and Tooltip Behavior in DHTMLX Gantt #134

xkfe opened this issue Dec 10, 2024 · 1 comment

Comments

@xkfe
Copy link

xkfe commented Dec 10, 2024

Hi, I’m facing a couple of issues with DHTMLX Gantt that I would appreciate some help with:

After configuring gantt.config. layout, when switching to a new page, the table width gets squeezed together, and there is excessive white space. It seems like the layout is not adjusting correctly. Even after using resetLayout, the issue persists.

Tooltip Text Sticks After Quickly Moving Away From a Row: When quickly moving the cursor away from a row in the Gantt chart, the tooltip content (tooltip_text) stays on the screen and doesn’t disappear as expected. This creates a cluttered user experience as the tooltip content lingers even after the user has moved away from the task.

I’ve tried adjusting the configurations and looking through the documentation, but I’m still encountering these issues. Could anyone provide suggestions or solutions for these problems?

image

@gearcoded
Copy link

@xkfe,
I couldn't reproduce the issue with the tooltips in the following samples:
https://docs.dhtmlx.com/gantt/samples/?sample=%2702_extensions/22_tooltip_api.html%27&filter=%27%27

If you want to change the layout configuration, you need to use the resetLayout or init method after modifying the gantt.config.layout property.
However, I couldn't reproduce the issue when the layout shrinks after switching to another page:
https://files.dhtmlx.com/30d/f570bc3fa62f9978768885d6a3962476/react_demo.zip

It is hard to suggest what might be wrong as I don't see your code.
Please add your configuration to the following snippet and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/40tsh9uz
Then, click on the Save button and send me the link.
Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.

If reproducing the issue requires following some steps, please provide them as well.

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