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 9616db5 commit 610aff9Copy full SHA for 610aff9
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -3929,7 +3929,10 @@ function RemoteFunctions(config = {}) {
3929
* @param {Event} event - The click event
3930
*/
3931
function handleElementClick(element, event) {
3932
- if (!isElementInspectable(element)) { return; }
+ if (!isElementInspectable(element)) {
3933
+ dismissUIAndCleanupState();
3934
+ return;
3935
+ }
3936
3937
// if anything is currently selected, we need to clear that
3938
const selection = window.getSelection();
0 commit comments