app/components/lookbook/button/component.html.erb in lookbook-1.2.0 vs app/components/lookbook/button/component.html.erb in lookbook-1.2.1
- old
+ new
@@ -6,10 +6,11 @@
"hover:text-lookbook-icon-button-stroke-hover": !@disabled,
"cursor-[not-allowed] opacity-50": @disabled
}
],
disabled: @disabled,
- "@keydown.esc.stop": "hideDropdown" do %>
+ "@keydown.esc.stop": "hideDropdown",
+ "@navigation:complete.window": "updateDropdown" do %>
<span x-ref="icon">
<%= icon || lookbook_render(:icon, name: @icon, size: icon_size, ":class": "{'animate-spin': _spinning}") %>
</span>
<% if @tooltip %>
<label class="hidden" x-ref="tooltip"><%= @tooltip %></label>
\ No newline at end of file