We have created an extension that uses the notify system to display an article in a popup. But we ran into an issue where about 5% of the times the notify opens, it displays the content wrongly, and when that happens, it is no longer possible to scroll down in the popup.
We've noticed that when the error happens the function resizeNotify(), found in \src\core\js\views\notifyView, is only run once by onLoaded().
When the popup opens without errors the function is run twice, once by resetNotifySize() and once by onLoaded().
We can't seem to find a pattern to this error, but it might be something with timing, maybe the article isn't completely rendered when the script determines whether to run resizeNotify() or something like that.
Has anyone noticed something similar?