Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noticing a scroll delay with visibleStartTime #7954

Open
chuckn0rris opened this issue Nov 29, 2023 · 0 comments
Open

Noticing a scroll delay with visibleStartTime #7954

chuckn0rris opened this issue Nov 29, 2023 · 0 comments
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer salesforce Salesforce integration

Comments

@chuckn0rris
Copy link

chuckn0rris commented Nov 29, 2023

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

modes: {week: {hourHeight:70, visibleStartTime: 18, }}

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

@chuckn0rris chuckn0rris added bug Something isn't working forum Issues from forum salesforce Salesforce integration large-account Reported by large customer OEM OEM customer labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer salesforce Salesforce integration
Projects
None yet
Development

No branches or pull requests

1 participant