48 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
80
views
How to break out of a turbo frame for redirect on a form submit
I am trying to dynamically render form errors using a turbo-frame. This works great when there is an error and correctly to populates the form with the submitted params, but when the form submit is ...
0
votes
0
answers
139
views
Turbo back button navigation not working correctly with multiple lazy-loaded Turbo Frames in Rails 7
I am working on a Ruby on Rails 7 application using Turbo (Hotwire).
I want to implement proper browser history navigation across the entire application.
Here’s the issue:
On the home page, multiple ...
0
votes
1
answer
202
views
Hotwire Native Path Configuration doesn't work with Modal on Android
I want every "new" views to open in a modal. But no matter what I change, the page keeps opening in a new card on Android. I've tried:
Validated JSON - it passed.
Opened http://localhost:...
0
votes
0
answers
136
views
Is it possible to pass data from Stimulus controller to an ActionController?
I am using Rails, Hotwire Stimulus and Chartkick.
First of all, I want to be able to click on the chart's specific datasets (columns/groups) and be able to export the data related to that clicked ...
0
votes
0
answers
117
views
Rails Hotwire - Turbo Frame not found when using nested frames with src attribute
I have a Rails 8/Hotwire app where I'm trying to edit comments using Turbo Frames. When using lazy loading with src, clicking the edit button fails with a Turbo Frame error, but works fine with inline ...
3
votes
0
answers
277
views
Severe memory leak with Hotwire Turbo and Shopify
I'm encountering a significant memory leak when integrating Turbo with my Shopify store. After each Turbo-driven navigation, the heap size increases due to detached DOM nodes being retained, leading ...
0
votes
1
answer
158
views
Turbo::StreamsChannel how to "target" an HTML element by a css selector and not by ID
I have this html setup:
<%= turbo_stream_from "articles_stream" %>
<div id="articles">
<div class="article"></div>
<div class="article&...
0
votes
1
answer
233
views
How to update the title through Hotwire?
how do people update the title with hotwire? are people still using this hack?
<head>
<title id="page-title">My Title</title>
</head>
<body>
<turbo-...
2
votes
1
answer
1k
views
Rails/Hotwire - don't cache Turbo frames on restoration visits
I have a page that contains a Turbo frame which loads some content from another URL using the src param.
Now when I click a link to navigate away from that page and then press "Back" in my ...
1
vote
0
answers
202
views
Using Turbo Frames in LitElement
I have a web application using Turbo Frames from Hotwire. The basic layout looks like this:
<nav>
<nav-button path="/desktop" label="Desktop"></nav-button>
...
1
vote
1
answer
343
views
How to use Hotwire with codeigniter?
Initially, I was intrigued by livewire when I saw someone using livewire. But it turns out that after I checked, livewire can only run on Laravel. Meanwhile, I myself have only used code igniter. Then,...
-1
votes
1
answer
233
views
Need help understanding turbo in rails 7
Everything all around is just acting weird. I can create todo objects but they are only displayed after I refresh, I have had this same issue on 2 separate occasions. I know that I am using the ...
5
votes
0
answers
247
views
Remember Me in Devise fails to Login User
If I don't use remember_me option, it works perfectly fine. The app flows as expected.
However, if I check remember_me, it will login in as expected, redirect me to a protected page, which will then ...
4
votes
2
answers
12k
views
Reload turboframe with Hotwire (Stimulus/Turbo/Rails)
I'm working with Hotwire the last month or two and trying to understand how to reload a specific turbo-frame after it renders the first time.
Let's say I have a simple rails controller for user ...
2
votes
1
answer
2k
views
Rails 7 - Stimulus controller do not see html target
import { Controller } from "@hotwired/stimulus";
import consumer from "channels/consumer";
export default class extends Controller {
static targets = ["users", "...