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
Hi team, currently, I'm having an issue with your lib. When my application got an error and multiple popup with same content showing at same time. The isCurrentlyDisplaying will not working properly because when I call display, it'll async back to mainThread later and the next time I check the Displaying will always return false.
What I'm trying to do is set the name to the popup, if that popup is showing, the same one will not be able to shown.
Ex:
The condition will not trigger because it show after async back to mainThread
My suggestion is to not async when you show the popup if we was already in main thread:
The text was updated successfully, but these errors were encountered:
traitanhong98
changed the title
Avoid async main queue when showing a popup
Avoid async main queue again when showing a popup
Feb 21, 2024
Hi team, currently, I'm having an issue with your lib. When my application got an error and multiple popup with same content showing at same time. The isCurrentlyDisplaying will not working properly because when I call display, it'll async back to mainThread later and the next time I check the Displaying will always return false.
What I'm trying to do is set the name to the popup, if that popup is showing, the same one will not be able to shown.
Ex:
The condition will not trigger because it show after async back to mainThread
My suggestion is to not async when you show the popup if we was already in main thread:
The text was updated successfully, but these errors were encountered: