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
Bug description:
The closeinterceptor function related to modal dialogs is not being called using version 11.0.2. An example could be found on your demo page at the section Close interceptor: clicking the Close button should open a new confirm dialog, but that does not appear and the previous modal dialog gets closed; choosing version 9.0.0 the confim dialog appears and everything works.
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap:
11
Angular:
16
Bootstrap:
5
The text was updated successfully, but these errors were encountered:
I did some debug about this problem and found that it was introduced in version 10.0.0 by this commit ( 8f0807e ). Now it seems that none calls the method modalContainerRef.instance?.hide() which is deputed to call the closeInterceptor method. Could someone please look further at this bug and provide a fix? Thanks in advance.
amoroso81
changed the title
Modal: closeinterceptor not working on version 11.0.2
Modal: closeinterceptor not working on versions from 10.0.0 to 11.0.2
Sep 25, 2023
* fix(modal): hide works even if show hasn't finished
* (test:modal): bring back done & tests isolation
Co-authored-by: Dmitriy Shekhovtsov <[email protected]>
Is anyone looking into this? We have just finished updating to Angular 17 and all the third libraries and it would be a massive pain if we had to downgrade... This is causing several bugs in our app.
Bug description:
The closeinterceptor function related to modal dialogs is not being called using version 11.0.2. An example could be found on your demo page at the section Close interceptor: clicking the Close button should open a new confirm dialog, but that does not appear and the previous modal dialog gets closed; choosing version 9.0.0 the confim dialog appears and everything works.
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap:
11
Angular:
16
Bootstrap:
5
The text was updated successfully, but these errors were encountered: