Join the Webstudio community

Updated 8 months ago

Publish failed on element with property of type "on:click.prevent.stop"

At a glance
I found the following problem, in the "Settings Panel" when trying to create element with a property of type "on:click.prevent.stop", it works fine on the "Canvas", but when trying to publish the webpage, the "Publish failed" icon appears.

Why does this happen and is it possible to correct it?
O
6 comments
noted, forwarding
follow this issue, its a bug in JSX, but there is a workaround https://github.com/webstudio-is/webstudio/issues/3573
On the related note: using alpinejs on webstudio elements will inevitably lead to issues, we are rendering with react, alpine may modify the dom and lead to all kinds of issues
if you do this on html embed elements react doesn't touch, its gonna be fine
simple stuff may work that doesn't change the dom controlled by react
turns out dot is invalid in attribute name, the framework you are using is using invalid stuff and we don't support that particular framework either, I am afraid this is a nogo
Add a reply
Sign up and join the conversation on Discord