When using this library on android chrome mobile, the root wrapper <div class="toaster" /> is making any scroll anywhere on the website laggy: it feels like an fps drop, scroll is not as smooth and it is quite noticeable once you spotted it.
I am not sure why this happens and it might be a chrome mobile issue related to the wrapper being a position fixed div but it could be something else.
I made a quick hack fix by not displaying the container while it does not have any children. This should of course be done properly directly in the lib, but here is the fix FYI:
When using this library on android chrome mobile, the root wrapper
<div class="toaster" />
is making any scroll anywhere on the website laggy: it feels like an fps drop, scroll is not as smooth and it is quite noticeable once you spotted it. I am not sure why this happens and it might be a chrome mobile issue related to the wrapper being a position fixed div but it could be something else.I made a quick hack fix by not displaying the container while it does not have any children. This should of course be done properly directly in the lib, but here is the fix FYI: