I have one project…only one, that is now stuck in Preview mode–I can no longer interact with the components by clicking on them in design panel. The buttons if clicked, perform their task, even when in component mode.
I have:
Closed all pages
Closed project
Switched project
Restarted computer
Tried switching across Preview, Component, Inspect, etc. modes
All many times.
Does anybody know where this is stored so I can go kill it?
Okay, not just one project…only those with Google maps. Remove the scripts, and all is well.
Here’s the error that is causing the trouble:
Time to review git and see what changed.
Switching to bug report:
Wappler Version : 5.5.3
Operating System : mac
Server Model: node
Database Type:
Hosting Type:
Expected behavior
Preview mode of the design panel should only be active when enabled.
Actual behavior
Preview mode stays enabled, due to some Google api errors:
How to reproduce
Use the following in a layout:
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaREDACT79Bad22A&callback=Function.prototype" defer="true"></script>
<script src="/dmxAppConnect/dmxGoogleMaps/dmxGoogleMaps.js" defer></script>
All pages using this layout will stay in preview mode.
Remove scripts, errors and preview mode, go away.
Seems to be google maps has a bug
https://issuetracker.google.com/issues/275849045?pli=1
Seemingly out of nowhere my app crashed in production and locally, with the below error being the only thing in the console. I saw @scottieslg posted something regarding this, but looks like it was resolved without a solution posted. Uncaught...
The bug crashes the whole app/webpage and in our case the design view in Wappler.
Thanks Patrick, that was definitely it…their rollback fixed everything.