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 ee0c1c5 commit 68b79aaCopy full SHA for 68b79aa
1 file changed
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -89,7 +89,11 @@ function RemoteFunctions(config = {}) {
89
"reRegisterEventHandlers",
90
"handleClick", // handle click on an icon in the more options box.
91
// when escape key is presses in the editor, we may need to dismiss the live edit boxes.
92
- "handleEscapePressFromEditor"
+ "handleEscapePressFromEditor",
93
+ // interaction blocks acts as 'kill switch' to block all kinds of click handlers
94
+ // this is done so that links or buttons doesn't perform their natural operation in edit mode
95
+ "registerInteractionBlocker", // to block
96
+ "unregisterInteractionBlocker" // to unblock
97
];
98
99
const _moreOptionsHandlers = new Map();
0 commit comments