Closed taauntik closed 4 months ago
Should be removed / tuned (creates too many z-index contexts)
else if (layoutEventData.length > 0) {
for (let i = 0; i < layoutEventData.length; i++) {
const data = layoutEventData[i];
// $event-zindex scss var is 5
data.wrapperStyle += `;z-index:${i + 5}`;
}
}
This filtering should not be needed unless DragCreating is in progress
layoutEventData = eventsData.filter(({ eventRecord }) => eventRecord.isEvent && !eventRecord.meta.excludeFromLayout),
Event tooltip flickers when hover CSS repeatedly tries to set z-index:108 to the topmost event.
https://github.com/bryntum/support/assets/218570/f017c2ce-7b68-48d8-8db9-8c52f0a5467f
Fixed in other PR
Forum post
Hi Arcady, I did. I think I found the problem. In my scheduler i have made a eventLayout, which type is set to "none" as standard. The eventLayout are filtering on the event type, to "group" event types so it shows correctly order. I think the problem is when the eventLayout type is set to "none" because all events then are showing at once in one cell, if I understand it correctly. The lag shows up when you scroll vertical right where the events are. Try change the eventLayout type to "stack" and then scroll and see that it does not lag at all. The eventLayout is found at: https://bryntum.com/products/schedulerpro/examples/custom-layouts/.
Is it possible to make it NOT lag using the eventLayout type "none"?
https://github.com/bryntum/support/assets/75997756/7e87b3ec-4d08-4e73-8564-f7e45a7aa5ee
This is the full code using the resourceutilization example: