Closed Water-zi closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity.
I have a button which will add a notification banner to the top of the screen. When I tap the button repeatedly, it supposed to show the banners like the "Stacked Banners" in readme.md but it didn't. The banners overlap with each other unless I add "banner.layer.masksToBounds = true" in my code. And when I use FloatingNotificationBanner, it do not have a rounded corner and the shadow like the gif shows in readme.md. It would be greate if you can tell me how to fix this. Thanks!
My code:
let banner = FloatingNotificationBanner(title: "用户名和密码不能为空", style: .warning)
banner.show(queuePosition: .front)
Screenshot:![IMG_92C2CCEF3E70-1](https://user-images.githubusercontent.com/43740539/118079651-2555d280-b3eb-11eb-83be-d6c59ab4e058.jpeg)