Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatusBarNotificationBanner onTap not working #397

Open
mufumade opened this issue Sep 29, 2022 · 0 comments
Open

StatusBarNotificationBanner onTap not working #397

mufumade opened this issue Sep 29, 2022 · 0 comments

Comments

@mufumade
Copy link

I am trying to perform some action after a StatusBarNotificationBanner was tapped. Unfortunately onTap is not triggered.

If I increase the banner height, taps are registered but only up to the statusbar but not in the status bar area.
It this expected behavior or is this a bug?

banner.dismissOnSwipeUp = false
banner.dismissOnTap = true
banner.autoDismiss = false
banner.bannerHeight = 200
banner.isUserInteractionEnabled = true
banner.onTap = {
    print("Hello World")
}
banner.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant