Skip to content

Commit d6f4d89

Browse files
Fixed mobile action buttons not working on iOS 26
1 parent f8e587b commit d6f4d89

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

app/views/applications/_fab.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<% end %>
1515
<% end %>
1616

17-
<%= link_to edit_application_path(application), class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
17+
<%= button_to edit_application_path(application), method: :get, class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
1818
<i class="fa-solid fa-pen"></i>
1919
<% end %>
2020

app/views/bookmarks/_fab.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<% end %>
1515
<% end %>
1616

17-
<%= link_to edit_bookmark_path(bookmark), class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
17+
<%= button_to edit_bookmark_path(bookmark), method: :get, class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
1818
<i class="fa-solid fa-pen"></i>
1919
<% end %>
2020

app/views/categories/_fab.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<% end %>
1515
<% end %>
1616

17-
<%= link_to edit_category_path(category), class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
17+
<%= button_to edit_category_path(category), method: :get, class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
1818
<i class="fa-solid fa-pen"></i>
1919
<% end %>
2020

app/views/quotes/_fab.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<span class="btn btn-circle border border-base-content/50"></span>
88

9-
<%= link_to edit_quote_path(quote), class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
9+
<%= button_to edit_quote_path(quote), method: :get, class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
1010
<i class="fa-solid fa-pen"></i>
1111
<% end %>
1212

app/views/themes/_fab.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
<% end %>
1616

1717
<% if theme.custom? %>
18-
<%= link_to edit_theme_path(theme), class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
18+
<%= button_to edit_theme_path(theme), method: :get, class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
1919
<i class="fa-solid fa-pen"></i>
2020
<% end %>
2121

2222
<%= button_to theme, method: :delete, class: "btn shadow-lg btn-circle btn-soft btn-error border border-base-content/25", data: { turbo_confirm: "Confirm deletion of #{theme.name}.", confirm_button: "Delete" } do %>
2323
<i class="fa-solid fa-trash"></i>
2424
<% end %>
2525
<% else %>
26-
<%= link_to new_theme_path(clone: theme), class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
26+
<%= button_to new_theme_path(clone: theme), method: :get, class: "btn shadow-lg btn-circle btn-soft btn-primary border border-base-content/25" do %>
2727
<i class="fa-solid fa-clone"></i>
2828
<% end %>
2929
<% end %>

0 commit comments

Comments
 (0)