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
An ngbPopover that has custom content that includes an element with a click event does not correctly fire the event on iOS 13 [autoClose]="true".
Changing to [autoClose]="'outside'" does resolve the issue, but then it leaves the popover open until the user actually clicks outside the content again (or until you dismiss it manually).
If you need access to a device to reproduce it, you can use https://appetize.io with an iPhone 11 Pro/iOS 13.
Link to minimally-working StackBlitz that reproduces the issue:
Bug description:
An ngbPopover that has custom content that includes an element with a
click
event does not correctly fire the event on iOS 13[autoClose]="true"
.Changing to
[autoClose]="'outside'"
does resolve the issue, but then it leaves the popover open until the user actually clicks outside the content again (or until you dismiss it manually).If you need access to a device to reproduce it, you can use https://appetize.io with an iPhone 11 Pro/iOS 13.
Link to minimally-working StackBlitz that reproduces the issue:
https://stackblitz.com/edit/angular-s2mvsa
Expected behavior:
Tapping the popover, then tapping on "click me" should display a JavaScript alert. This works on desktop, but not on iOS.
Actual behavior:
Tapping on "click me" does nothing on iOS.
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 8.2.4
ng-bootstrap: 5.1.2
Bootstrap: 4.3.1
The text was updated successfully, but these errors were encountered: