givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
6.91k stars 1.59k forks source link

'Leave site' popup #299

Open yasmagic opened 1 year ago

yasmagic commented 1 year ago

When trying to add component, it is throwing "leave site" popup randomly. Please check image below:

image

givanz commented 1 year ago

This is probably caused by javascript errors on the page, can you please check developer tools > console (ctrl + shift + i in chrome) and see it there are any errors?

yasmagic commented 1 year ago

Thanks @givanz.. I have checked in the console and no errors were found. This is a strange issue.

givanz commented 1 year ago

I'm unable to reproduce the bug, tested on chrome and firefox. Does this happen on demo https://www.vvveb.com/vvvebjs/editor.html? please provide steps to reproduce the bug.

givanz commented 1 year ago

I was able to reproduce the bug and fix it https://github.com/givanz/VvvebJs/commit/0c6a5a6ebf7b910ac2f56e9e9c6ff75b1b096638