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

ScrollTo functionality does not work with infinitescroll enabled #6132

Closed
taauntik opened this issue Feb 8, 2023 · 1 comment
Closed

ScrollTo functionality does not work with infinitescroll enabled #6132

taauntik opened this issue Feb 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working forum Issues from forum resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@taauntik
Copy link

taauntik commented Feb 8, 2023

Forum post

Hi,
We are trying to use the scroll functionality and are noticing som strange behaviour. At first we occasionally noticed that the scrollTo functionality is not scrolling all the way to the event.

After some investigation we have narrowed it down to be related to the use of infinite scroll.
If the event passed to the scroll method is outside of the loaded view the problem occurs.

Managed to reproduce the issue in:
https://bryntum.com/products/scheduler/examples/scrollto/
-> Add infinite scroll to the scheduler config
-> editing the start/end days of Event-1 to a few years from now
-> then choose Event-1 in the scroll to dropdown.

The scheduler does not scroll all the way and the promise from the scrollmethod does not resolve

Tested with: scrollEventIntoView & scrollResourceEventIntoView

Here is the video of reproduction

chrome_IbWnH5q5j7.mp4
@taauntik taauntik added bug Something isn't working forum Issues from forum labels Feb 8, 2023
@matsbryntse
Copy link
Member

Test added to 6132-scroll

@matsbryntse matsbryntse self-assigned this May 14, 2023
@matsbryntse matsbryntse added ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels May 14, 2023
@matsbryntse matsbryntse added this to the 5.3.6 milestone May 15, 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 resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

2 participants