neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.75k stars 147 forks source link

main.addon.ResizeObserver: register() => in case a node is not found, try again after a delay for a defined number of times #5505

Closed tobiu closed 1 week ago

tobiu commented 1 week ago

e.g. 3 times with a 100ms delay.

rationale: in this call arrives too early (shortly before a node gets mounted), the observer would never get the item to observe.