ngx-bootstrap 21.2.0 dropped Zone.js as a dependency in favour of zoneless Angular. This is the right long-term direction, but it creates a gap for the large number of production Angular applications still running with Zone.js that want to upgrade ngx-bootstrap.
Problem
With ngx-bootstrap no longer running its internal async operations inside Zone.js, Angular's change detection is no longer automatically notified when ngx-bootstrap components update their internal state (e.g. modal shown/hidden, datepicker selection, dropdown toggle).
For apps using ChangeDetectionStrategy.OnPush this means UI can appear stale after ngx-bootstrap interactions — no error is thrown, the component simply doesn't re-render.
Questions
Will applications still using Zone.js be unable to use ngx-bootstrap 21.2+ until they have fully migrated to zoneless?
Is there an officially supported path for Zone.js apps to use newer versions of ngx-bootstrap during a gradual migration?
Is there any alternate till i can update my project to zonless?
let me know any alternate apparoch so i can update the project with latest ngx bootstrap
My project current version:
Angular: ~21.2.15
ngx-bootstrap: ^21.0.1
ngx-bootstrap 21.2.0 dropped Zone.js as a dependency in favour of zoneless Angular. This is the right long-term direction, but it creates a gap for the large number of production Angular applications still running with Zone.js that want to upgrade ngx-bootstrap.
Problem
With ngx-bootstrap no longer running its internal async operations inside Zone.js, Angular's change detection is no longer automatically notified when ngx-bootstrap components update their internal state (e.g. modal shown/hidden, datepicker selection, dropdown toggle).
For apps using ChangeDetectionStrategy.OnPush this means UI can appear stale after ngx-bootstrap interactions — no error is thrown, the component simply doesn't re-render.
Questions
Will applications still using Zone.js be unable to use ngx-bootstrap 21.2+ until they have fully migrated to zoneless?
Is there an officially supported path for Zone.js apps to use newer versions of ngx-bootstrap during a gradual migration?
Is there any alternate till i can update my project to zonless?
let me know any alternate apparoch so i can update the project with latest ngx bootstrap
My project current version:
Angular: ~21.2.15
ngx-bootstrap: ^21.0.1