Ok can you please provide instructions on how we can reproduce this using one of our samples?
Support Forum
I will be busy probably for few days to try to prepare test case, but shortly how you could reproduce it:
1) Angular 13
2) Latest SchedulerPro (4.3.6 or 4.3.7)
3) Using Angular Custom Elements to use own Component to render tooltip
4) Component should with min. 500px of height
5) Use it to event drag & drop
6) Google Chrome 98 (but occurs too on firefox)
our code
// Here is showed tooltip on D&D
eventDrag: <Partial<EventDragConfig>> {
showExactDropPosition: false,
tooltipTemplate: (data: any) => data.message,
validatorFn: (event: any) => {
const args: EventDragArgs = GanttUtilsHolder.instance.getEventDragArgs(event);
const tooltipHtml: string = cfg.eventDragAndDropTooltipRenderer(args); // here use custom elements to render tooltip
return { message: tooltipHtml };
}
},
striker wrote: ↑Thu Feb 03, 2022 10:30 pmI will be busy probably for few days to try to prepare test case, but shortly how you could reproduce it:
1) Angular 13
2) Latest SchedulerPro (4.3.6 or 4.3.7)
3) Using Angular Custom Elements to use own Component to render tooltip
4) Component should with min. 500px of height
5) Use it to event drag & drop
6) Google Chrome 98 (but occurs too on firefox)our code
// Here is showed tooltip on D&D eventDrag: <Partial<EventDragConfig>> { showExactDropPosition: false, tooltipTemplate: (data: any) => data.message, validatorFn: (event: any) => { const args: EventDragArgs = GanttUtilsHolder.instance.getEventDragArgs(event); const tooltipHtml: string = cfg.eventDragAndDropTooltipRenderer(args); // here use custom elements to render tooltip return { message: tooltipHtml }; } },
So... As I wrote how to reproduce it, I did exactly same things in test project and I was able to reproduce it. Why you didn't checked it before and requested a test case?
On test case I attached you can find three bugs.
1) Like in toopic, tooltip height is wrongly calculated.
2) Tooltip is showing only once (occurs on 4.3.5 too)
3) Experiencing lagging while moving event
Windows 10, Google Chrome 98, SchedulerPro 4.3.8 (latest), Latest stable Angular 13
Gif how it worked on 4.3.5:
Gif how it's working on 4.3.8:
We hope for fast solving issue, because we're stuck on 4.3.5.
Tooltip container CSS:
.gantt-task-tooltip-container {
height: 500px;
}
I unzipped it all into a directory. I tried some incantations that have sometimes worked and they went bad. So how does one build this?
Just use basic steps
1) npm install
2) npm start
(Node.js version v17.3.0, use latest npm version)