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

ScrollToDate with block: center and viewportCenterDate moving unexpectedly #10486

Open
marciogurka opened this issue Dec 13, 2024 · 0 comments
Open
Labels
bug Something isn't working forum Issues from forum OEM OEM customer

Comments

@marciogurka
Copy link

Forum post

"Hey

We have an issue where we do some tick management and want to keep the original center date to set to again. But when we try to scroll to it, it jumps ahead a little bit. Am i using the function wrong or is the viewportCenterDate something else?

I've added the following code to the example: https://bryntum.com/products/schedulerpro/examples-scheduler/scrollto/

    {
        button: 'button',
        text: 'center',
        onAction: () => {
            scheduler.scrollToDate(scheduler.viewportCenterDate, {block: 'center'})
        }
    }
        

"

2024-12-13_12h30_42.mp4
@marciogurka marciogurka added bug Something isn't working forum Issues from forum OEM OEM customer labels Dec 13, 2024
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 OEM OEM customer
Projects
None yet
Development

No branches or pull requests

1 participant