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

scrollEventIntoView does not highlight event in vertical mode in Vue #2499

Open
chuckn0rris opened this issue Mar 9, 2021 · 1 comment
Open
Labels
bug Something isn't working forum Issues from forum vue Vue framework integration

Comments

@chuckn0rris
Copy link

Forum post

sometimes scrollEventIntoView doesn't highlight an event element if block: 'start' option passed and the Scheduler is in Vue wrapper. Not reproducible w/o wrapper.

To reproduce edit advanced Vue example. Try to add this code into schedulerConfig.js

    mode : 'vertical',
    listeners : {
        cellClick(a) {
            const ev = a.grid.eventStore.getAt(2);
            console.log(ev);
            a.grid.scrollEventIntoView(ev, {highlight: true,
                block: 'start'});
        },
    },

After that scroll left/right/bottom to hide the target from the view and click to call event handler, or click w/o scroll. It will be highlighted in 70% cases, but not always.

@chuckn0rris chuckn0rris added bug Something isn't working vue Vue framework integration forum Issues from forum labels Mar 9, 2021
@isglass isglass added this to the 4.2.x milestone Mar 10, 2021
@matsbryntse matsbryntse removed this from the 4.2.x milestone Jun 22, 2021
@jsakalos
Copy link

I couldn't reproduce it in 4.3.2
highlight

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 vue Vue framework integration
Projects
None yet
Development

No branches or pull requests

4 participants