Our pure JavaScript Scheduler component


Post by hajem »

Hi!

I tried to see if another post existed regarding this topic, but couldn't find any. I have a small issue with the event names for nested events, both children and parents, not displaying in the scheduler when they are outside of the view. This is especially a problem for events whose startDate is outside of the scheduler's date span, as the user cannot simply scroll to see the event names.

For events that are not nested this is not an issue, as the event name follows the left edge of the scheduler just fine.

Below is a screenshot with an example from my own implemtation.

Screenshot_from_own_implementation.png
Screenshot_from_own_implementation.png (77.45 KiB) Viewed 513 times

And here is a short gif displaying the issue in the "Nested events configuration options" example at https://www.bryntum.com/products/schedulerpro/examples/nested-events-configuration/

Gif_from_online_example.gif
Gif_from_online_example.gif (24.69 MiB) Viewed 513 times

Steps to recreate:
Denest some event.
Zoom in to be able to scroll past start of nested events
Scroll horizontally to see "normal" event names follow the edge, while nested event names stay outside of view.

Is there a configuration I'm missing, or some other tips on how to fix this?

The tooltip is a servicable workaround for the user to see the event names, but being able to see them as the "normal" events would be optimal.

Regards
Kristoffer Hajem
Evidi

Kristoffer Hajem
Developer, Evidi


Post by alex.l »

Hi Kristoffer,

Thank you for detailed report. That looks like a bug related to stack eventLayout for nested events. I've opened a ticket to fix that https://github.com/bryntum/support/issues/5727

All the best,
Alex


Post by hajem »

Thanks for the response Alex!
I'll look out for the evntual fix to the bug, and use 'pack' layout until then.

However while this solves the issue for the nested events, I've also noticed that the event name for the header seems to be always fixed to the middle of the event (between startDate and endDate).
See the below screenshot for an example (Had to shift the scheduler from todays date to January 2024 in this case)

Screenshot_long_event_header_name.png
Screenshot_long_event_header_name.png (88.77 KiB) Viewed 501 times

Is this related to the same issue?

Regards
Kristoffer Hajem
Evidi

Kristoffer Hajem
Developer, Evidi


Post by alex.l »

Yes, we will check all at once

All the best,
Alex


Post by alex.l »

Looks like I was wrong, it's not a bug and just won't be working with stack layout.
It described here https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/NestedEvents#config-eventLayout

All the best,
Alex


Post by hajem »

OK, thanks for clarifying :)

Kristoffer Hajem
Developer, Evidi


Post Reply