Premium support for our pure JavaScript UI components
Hi Bryntum team, we just upgraded to 5.6.6, but now we can't delete the dependencies (cf video bellow).
Creation of dependencies with drag and drop works well
Nothing happens when hovering the created dependency "link"
No event is sent for "onDependencyDblClick", "dependencyMouseOut" and "dependencyMouseOver"
What are we missing with the upgrade ? How can we fix that ?
ezgif-3-828dbde1be.gif (579.82 KiB) Viewed 312 times
Attachments
Screenshot 2024-03-26 at 11.59.59.png (139.99 KiB) Viewed 312 times
Screenshot 2024-03-26 at 11.59.55.png (140.92 KiB) Viewed 312 times
Here is also the Gantt Props:
Attachments
Screenshot 2024-03-26 at 12.03.17.png (112.25 KiB) Viewed 308 times
@ghulam do you have any other idea where this issue can come from ?
Not really, I am not able to find anything. Is there any reason, you are not upgrading to the latest version?
We upgraded to the last version, that's just the last thing we need to solve to see dependencies working.
Do you have nay idea why i even don't have the "dependencyMouseOver" log ? Maybe it's about css / html layers ?
Thanks for your help
Hi there,
I have installed the version 5.6.6 and checked for the issues you have mentioned and was unable to reproduce this in our advanced demo in react/javascript. I have used the following code in the config file:
onDependencyMouseOver(data) {
console.log(data.eventName);
},
onDependencyMouseOut(data) {
console.log(data.eventName);
},
onDependencyDblClick(data) {
console.log(data.eventName);
},
Clip: https://drive.google.com/drive/folders/1GbhB8qWgZuya5g41bEMUQaQMgG7vfi_U?usp=sharing
So probably there is something wrong with your implementation. Can you please check? I am attaching the demo project below:
Regards,
Ghous
Ghous
@ghulam
The problems comes from "ScrollButtons", when enabled the dependencies cannot be hovered an deleted.
How can we fix that ?
We fixed the "ScrollButtons" overlapping the "dependencies" with css:
.b-scrollbuttons .b-timeaxissubgrid .b-grid-row, .b-scrollbuttons .b-timeaxissubgrid .b-grid-cell {
z-index: 1; // replaced from z-index: 2
}
Will passing z-index from "2" to "1" can affect other behaviors ?
I guess you missed writing some test when "ScrollButtons" are enabled
Last edited by
clovisapp on Wed Mar 27, 2024 11:44 am, edited 1 time in total.
If you a performing a fix for this, can you please also include the option to "hide" the label next to the scroll arrow when the event bar is visible ?
I think the "b-task-visible" class should be added on the container "b-scroll-buttons-content" and not only on "b-scroll-button"
Thanks a lot for the fixes !
Attachments
Screenshot 2024-03-27 at 10.37.22.png (195.56 KiB) Viewed 202 times