Noticing a scroll delay with visibleStartTime #7954
Labels
bug
Something isn't working
forum
Issues from forum
large-account
Reported by large customer
OEM
OEM customer
salesforce
Salesforce integration
Calendar should open on visibleStartTime position initially
Forum post
Hello,
I'm running into a bit of an issue with the visibleStartTime setting, which seems to take a moment to apply when set to an hour later in the day. This is reproducible on the demo calendar https://www.bryntum.com/products/calendar/examples/basic/ but it's significantly more noticeable when Bryntum Calendar is in an LWC.
If you add
to the demo calendar on browser, when the calendar loads, the top most hour mark shown is 12:00AM, and it takes a moment for the calendar to then scroll to 6:00PM. On the LWC demo calendar there is a much longer delay until the calendar scrolls to the specified visibleStartTime.
For the browser demo calendar, there is no delay if visibleStartTime < 10, but there is a delay if visibleStartTime >= 10.
For the LWC demo calendar, there is no delay if visibleStartTime <= 10, and there is a delay if visibleStartTime > 10.
This issue is still reproducible on Bryntum Calendar version 5.6.0
I attached screen recordings of the problem for the LWC demo calendar and for the browser demo calendar where I set visibleStartTime to 18.
Our goal is that we'd be able to open the calendar so that a particular event is in view and immediately interact with that event, but we're finding that when the visibleStartTime is greater than 10 there is a delay until the calendar actually scrolls to that time.
Please let me know if there is a way around this behavior or if we can try a different approach. Thank you
The text was updated successfully, but these errors were encountered: