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

Calendar fires 2 refresh events on adding a new task record #1317

Closed
pmiklashevych opened this issue Aug 12, 2020 · 0 comments
Closed

Calendar fires 2 refresh events on adding a new task record #1317

pmiklashevych opened this issue Aug 12, 2020 · 0 comments
Assignees
Labels
bug Something isn't working resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@pmiklashevych
Copy link

pmiklashevych commented Aug 12, 2020

http://lh/master/bryntum-suite/calendar/examples/basic/

calendar.activeView.eventStore.on({
    catchAll(e) {
        console.log('eventStore', e.type);
    }
});

calendar.activeView.on({
    catchAll(e) {
        console.log('view', e.type);
    }
});

Adding fires add and update. Both call refreshSoon. Sometimes refresh is fired once, sometimes 2 times.

calendar.activeView.eventStore.add({ startDate : new Date(2020, 9, 12, 7), endDate : new Date(2020, 9, 12, 8), name : 'Test' });

Снимок экрана 2020-08-12 в 14 39 13

YearView, DayView, EventTooltip fail due to this issue. Especially in Firefox.

@pmiklashevych pmiklashevych added the bug Something isn't working label Aug 12, 2020
@isglass isglass added this to the Calendar 1.0.3 milestone Aug 12, 2020
@ExtAnimal ExtAnimal modified the milestones: Calendar 4.0.0, Calendar 4.0.1 Aug 27, 2020
@isglass isglass modified the milestones: Calendar 4.0.1, Calendar 4.0.x Oct 20, 2020
@isglass isglass modified the milestones: Calendar 4.0.x, 4.0.x Nov 18, 2020
@SergeyMaltsev SergeyMaltsev modified the milestones: 4.0.x, 4.1.x Feb 18, 2021
@matsbryntse matsbryntse removed this from the 4.1.x milestone Jun 22, 2021
@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
@isglass isglass 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
@isglass isglass added this to the 5.5.5 milestone Oct 16, 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 resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

5 participants