app/components/lookbook/embed/inspector/component.html.erb in lookbook-2.0.2 vs app/components/lookbook/embed/inspector/component.html.erb in lookbook-2.0.3

- old
+ new

@@ -50,11 +50,11 @@ x-ref="viewport" <% unless drawer? %> style="border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; overflow: hidden;" <% end %>> <div - @viewport:resize-progress="resizeIframe" - @viewport:resize-complete="resizeIframe" + x-on:viewport:resize-progress="resizeIframe" + x-on:viewport:resize-complete="resizeIframe" x-ref="viewportWrapper"> <%= lookbook_render :viewport, iframe_id: "#{id}-viewport", src: helpers.lookbook_preview_path(target.path, request.query_parameters.merge(lookbook_timestamp: Time.now, lookbook_embed: true)), alpine_data: "store",