We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c7465 commit a346695Copy full SHA for a346695
1 file changed
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -1483,6 +1483,11 @@ function RemoteFunctions(config = {}) {
1483
function registerHandlers() {
1484
hideHighlight(); // clear previous highlighting
1485
disableHoverListeners(); // Always remove existing listeners first to avoid duplicates
1486
+ // Cancel any pending resize RAF so stale callbacks don't fire after re-init
1487
+ if (_pendingResizeRAF) {
1488
+ cancelAnimationFrame(_pendingResizeRAF);
1489
+ _pendingResizeRAF = null;
1490
+ }
1491
getAllToolHandlers().forEach(handler => {
1492
if (handler.unregisterInteractionBlocker) {
1493
handler.unregisterInteractionBlocker();
0 commit comments