Closed ryan-stackwave closed 4 months ago
I can't seem to reproduce @ryan-stackwave :
not sure why?
Can you send a video of you triggering it maybe?
@tnrich it doesn't seem to error if the "New Feature" modal already has a vertical scrollbar so try giving yourself enough vertical window for the entire modal to display.
Hmm @ryan-stackwave I tried again with no scrollbar and still couldn't get the error to occur I don't think:
Thoughts?
@tnrich very strange, it's happening for me in both firefox and chrome:
Is this breaking anything for you @ryan-stackwave or just showing up as an error?
@tnrich this came up in our testing because we popup a message to the user whenever there are javascript errors. However, I can probably swallow any errors that come out of ove as a workaround.
@ryan-stackwave I wouldn't swallow all the ove errors but this might be one of the ones you'll need to..
@tnrich Debouncing the ResizeObserver callback seems to resolve the issue. Please let me know if you think that's a reasonable approach. https://github.com/TeselaGen/tg-oss/pull/65
The error is: ResizeObserver loop completed with undelivered notifications.
To reproduce: Enable editing -> Highlight sequence -> Right-click -> Create -> New Feature -> + Add Note
https://jsfiddle.net/zah72dnm/3/
@tnrich