gantt icon indicating copy to clipboard operation
gantt copied to clipboard

Lightbox setting "wide_form" not working properly

Open wiemax1093 opened this issue 1 year ago • 1 comments

Hello, I am just trying out this solution and found out that when trying to get the lightbox from not in wide_form it does not "render" as intended/ work as soon as you have the section "time" - it seems this bug was reported around 2 years ago already as a comment under the documentation section of it. Anything that can be done here?

wiemax1093 avatar Jun 06 '24 17:06 wiemax1093

@wiemax1093, As mentioned in the comment below the article, it is a bug in Gantt. But there is a workaround for that: you can set any name for the time section except the time name, then the wide_form config won't be enabled if you didn't do that. Here is the snippet: https://snippet.dhtmlx.com/c3e8g6rv

gearcoded avatar Jun 27 '24 07:06 gearcoded

@wiemax1093, The dev team fixed the bug when Gantt switched to the wide form for the lightbox: https://docs.dhtmlx.com/gantt/whatsnew.html#x8318x90x8319x:~:text=Prevent%20the%20lightbox%20from%20switching%20to%20the%20wide_form%20mode%20upon%20adding%20the%20Time%20section

You can see that the bug is no longer reproduced in the following samples: https://snippet.dhtmlx.com/5/e9c167d2f https://snippet.dhtmlx.com/siaqtahv

gearcoded avatar Nov 25 '24 09:11 gearcoded