diff --git a/app/views/reactions/_reactions.html.erb b/app/views/reactions/_reactions.html.erb index 14237799a1..f990db4eb9 100644 --- a/app/views/reactions/_reactions.html.erb +++ b/app/views/reactions/_reactions.html.erb @@ -6,8 +6,8 @@ <%= turbo_frame_tag reactable, :new_reaction do %> <%= link_to new_polymorphic_path([ *reaction_path_prefix_for(reactable), :reaction ]), role: "button", - class: "reactions__trigger btn btn--circle", action: "soft-keyboard#open", - data: { turbo_frame: dom_id(reactable, :new_reaction), action: "dialog#close" } do %> + class: "reactions__trigger btn btn--circle", + data: { controller: "tooltip soft-keyboard", turbo_frame: dom_id(reactable, :new_reaction), action: "dialog#close soft-keyboard#open" } do %> <%= image_tag "boost-color.svg", aria: { hidden: true } %> Add your own reaction <% end %>