diff --git a/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js b/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js index c7b7aeebcc..3d305f1c1d 100644 --- a/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js +++ b/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js @@ -53,6 +53,11 @@ export default ` let styles let selectedComponentStyle + document.addEventListener("click", function(e) { + e.preventDefault() + e.stopPropagation() + return false; + }, true) import('/_builder/budibase-client.esm.mjs') .then(module => {