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

[React] onPaint does not work whereas paint listener does #928

Closed
jsakalos opened this issue Jun 12, 2020 · 0 comments
Closed

[React] onPaint does not work whereas paint listener does #928

jsakalos opened this issue Jun 12, 2020 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum react React framework integration resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@jsakalos
Copy link

Forum post

This works:

<BryntumScheduler          
    listeners={{
        paint:({source, firstPaint}) => {
            source.scrollToDate(new Date());
        }
    }}

but this doesn't

<BryntumScheduler
    onPaint={({source, firstPaint}) => {
        source.scrollToDate(new Date());
    }}

Investigate and explain/document or fix.

@jsakalos jsakalos added bug Something isn't working forum Issues from forum react React framework integration labels Jun 12, 2020
@matsbryntse matsbryntse self-assigned this Oct 15, 2023
@matsbryntse matsbryntse added the ready for review Issue is fixed, the pull request is being reviewed label Oct 15, 2023
@matsbryntse matsbryntse changed the title React: onPaint does not work whereas paint listener does onPaint does not work whereas paint listener does Oct 15, 2023
@matsbryntse matsbryntse added 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 Oct 16, 2023
@matsbryntse matsbryntse added this to the 5.5.5 milestone Oct 16, 2023
@SergeyMaltsev SergeyMaltsev changed the title onPaint does not work whereas paint listener does [React] onPaint does not work whereas paint listener does Oct 23, 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 react React framework integration resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

2 participants