Skip to content

Migration guide needed for Zone.js apps upgrading to ngx-bootstrap 21.2+ #6815

Description

@awaismalik47

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions