Closed bumi closed 2 years ago
Chrome doesn't seem to like 2 notifications being spawned at the same time.
maybe we simply do a setTimeout
and wait 500ms ? :)
There also doesn't seem to be a notification after tipping on Firefox. For Chrome I did not encounter this issue described above.
I tried to work with a timeout but that will make the first notification disappear directly when the new one appears (they don't stack). It also requires the window to stay open until the timeout fires (otherwise it won't fire at all). I guess the best solution is to show successAction message within the current screen and not closing the window.
In Firefox the LNURL response message (e.g. thanks for the payment) is shown as notification. In chrome I only see the payment success notification with the pre-image.
Maybe this is a bug, maybe this is only how my chrome notifications are configured?