You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the Scheduler to an empty array the page is reloaded, causing the MultiSelect popup to be closed while its autoClose option is set to false.
Also, the following error is thrown:
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'true'. Current value: 'false'. Expression location: MultiSelectComponent component.
If we trigger some change in the Scheduler before setting the data to an empty array, for example changing the view, then there are no issues, and the popup remains open.
The issue also doesn't happen when setting the Grid to an empty array. Then the MultiSelect popup remains opened which is correct behavior.
Description
When setting the Scheduler to an empty array the page is reloaded, causing the MultiSelect popup to be closed while its
autoClose
option is set to false.Also, the following error is thrown:
If we trigger some change in the Scheduler before setting the data to an empty array, for example changing the view, then there are no issues, and the popup remains open.
The issue also doesn't happen when setting the Grid to an empty array. Then the MultiSelect popup remains opened which is correct behavior.
Steps To Reproduce
https://stackblitz.com/edit/angular-eqqlpf2j?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.module.ts
You can commend line 47 and uncomment 48 to see how the Grid behaves:
Actual Behavior
The MultuSelect popup is being closed due to setting the Scheduler data to an empty array.
Expected Behavior
The state of other components should not be affected by changes in the Scheduler. The MultiSelect popup state should remain open.
The text was updated successfully, but these errors were encountered: