Mijick / Popups

Popups, popovers, sheets, alerts, toasts, banners, (...) presentation made simple. Written with and for SwiftUI.
Apache License 2.0
1.38k stars 59 forks source link

Popup position shifts after enabling .tapOutsideToDismiss(true) and dismissing by tapping outside #141

Closed El549 closed 1 month ago

El549 commented 2 months ago

Description:

I'm using the PopupView framework and have encountered an issue when I enable .tapOutsideToDismiss(true) to allow dismissing the popup by tapping outside. The specific problem is:

Steps to Reproduce:

  1. Configure PopupView with .tapOutsideToDismiss(true) enabled.
  2. Trigger the popup to display.
  3. Dismiss the popup by tapping outside.
  4. Trigger the popup again.

Expected Behavior:

Actual Behavior:

Possible Cause:

Additional Information:

I hope the developers can look into this issue. Thank you very much!

FulcrumOne commented 1 month ago

Hey @El549,

The problem should be fixed in the newest framework version.

Have a nice day, Tomasz