# Latest

**URL:** https://discuss.hotwired.dev/latest.md

[Latest](https://discuss.hotwired.dev/latest.md) · [Categories](https://discuss.hotwired.dev/categories.md)

---

## [Welcome to Hotwire Discussion](https://discuss.hotwired.dev/t/welcome-to-hotwire-discussion/8)

<div class="topic-metadata">

**Author:** [@system](https://discuss.hotwired.dev/u/system)\
**Replies:** 3\
**Last updated:** [August 10, 2020, 3:14am UTC](https://discuss.hotwired.dev/t/welcome-to-hotwire-discussion/8 "2020-08-10T03:14:28Z")

</div>

Hotwire Discussion is a community forum for Hotwire, an approach to building modern web applications by sending HTML over the wire. This includes discussion about the Turbo and Stimulus JavaScript libraries. Chat here w…

---

## [Link not working on first click](https://discuss.hotwired.dev/t/link-not-working-on-first-click/3378)

<div class="topic-metadata">

**Author:** [@emiellohr](https://discuss.hotwired.dev/u/emiellohr)\
**Replies:** 1\
**Last updated:** [September 4, 2026, 9:58am UTC](https://discuss.hotwired.dev/t/link-not-working-on-first-click/3378 "2026-09-04T09:58:27Z")

</div>

I’ve a link within a turbo-frame (wrapper) with a data-turbo-target outside the frame (modal\_content). This construction doesn’t work on the first click after a page reload. I tried to debug this and saw that the clickBu…

---

## [CSP nonce enforcement bypassed on Turbo Drive navigation (security-relevant)](https://discuss.hotwired.dev/t/csp-nonce-enforcement-bypassed-on-turbo-drive-navigation-security-relevant/6569)

<div class="topic-metadata">

**Author:** [@rocket-turtle](https://discuss.hotwired.dev/u/rocket-turtle)\
**Replies:** 1\
**Last updated:** [August 11, 2026, 6:56pm UTC](https://discuss.hotwired.dev/t/csp-nonce-enforcement-bypassed-on-turbo-drive-navigation-security-relevant/6569 "2026-08-11T18:56:32Z")

</div>

Hi all, I’ve found that Turbo Drive appears to bypass CSP script-src nonce enforcement when it swaps the document. Steps to reproduce and video are in the linked issues below. A Rails app with the default nonce-based c…

---

## [Seamless modals via Turbo and on Hotwire Native](https://discuss.hotwired.dev/t/seamless-modals-via-turbo-and-on-hotwire-native/6568)

<div class="topic-metadata">

**Author:** [@birdybird](https://discuss.hotwired.dev/u/birdybird)\
**Replies:** 0\
**Last updated:** [July 19, 2026, 10:13pm UTC](https://discuss.hotwired.dev/t/seamless-modals-via-turbo-and-on-hotwire-native/6568 "2026-07-19T22:13:06Z")

</div>

I recently forked ultimate turbo modal so it can support delivering hotwire native modals on ios / android. I wanted to share this and see if anyone else would find it useful. I’m also looking for feedback. The idea is …

---

## [Delete empty params on form submit](https://discuss.hotwired.dev/t/delete-empty-params-on-form-submit/5745)

<div class="topic-metadata">

**Author:** [@artur79](https://discuss.hotwired.dev/u/artur79)\
**Replies:** 1\
**Last updated:** [July 18, 2026, 8:52am UTC](https://discuss.hotwired.dev/t/delete-empty-params-on-form-submit/5745 "2026-07-18T08:52:57Z")

</div>

Hi, I’v got a form with turbo-frame param and frame has data: { turbo\_action: ‘advance’ }, because I want to update the url to have form params (filters) there. I need to delete some form fields on form submit, especial…

---

## [When broadcasting a Turbo refresh is not enough: faster UX with versioned immediate updates](https://discuss.hotwired.dev/t/when-broadcasting-a-turbo-refresh-is-not-enough-faster-ux-with-versioned-immediate-updates/6567)

<div class="topic-metadata">

**Author:** [@radanskoric](https://discuss.hotwired.dev/u/radanskoric)\
**Replies:** 0\
**Last updated:** [July 15, 2026, 12:55pm UTC](https://discuss.hotwired.dev/t/when-broadcasting-a-turbo-refresh-is-not-enough-faster-ux-with-versioned-immediate-updates/6567 "2026-07-15T12:55:38Z")

</div>

Hey, wrote a little article about a technique I found useful for collaborative UIs. Basically, the default Turbo refresh approach for collaborative pages adds latency with an extra round trip and a debounce delay. Broadc…

---

## [Fixing flaky system tests when a job broadcasts multiple Turbo Stream updates](https://discuss.hotwired.dev/t/fixing-flaky-system-tests-when-a-job-broadcasts-multiple-turbo-stream-updates/6423)

<div class="topic-metadata">

**Author:** [@gpassero](https://discuss.hotwired.dev/u/gpassero)\
**Replies:** 2\
**Last updated:** [July 13, 2026, 12:16pm UTC](https://discuss.hotwired.dev/t/fixing-flaky-system-tests-when-a-job-broadcasts-multiple-turbo-stream-updates/6423 "2026-07-13T12:16:37Z")

</div>

There’s a class of Turbo Stream system test flakiness that connect\_turbo\_cable\_stream\_sources doesn’t fix — when the issue isn’t the WebSocket connection timing, but the ActionCable thread pool not flushing before your C…

---

## [Why not trying to fit some new framework standards?](https://discuss.hotwired.dev/t/why-not-trying-to-fit-some-new-framework-standards/6428)

<div class="topic-metadata">

**Author:** [@piefolle](https://discuss.hotwired.dev/u/piefolle)\
**Replies:** 1\
**Last updated:** [July 11, 2026, 3:54am UTC](https://discuss.hotwired.dev/t/why-not-trying-to-fit-some-new-framework-standards/6428 "2026-07-11T03:54:52Z")

</div>

I am now working on a big Symfony project, we use Turbo + Stimulus, and honestly, I feel like a kid because it reminds me a lot of good memories. But ! I really miss some standards of modern JS, like reactivity, HTML at…

---

## [I built a Chrome DevTools extension for Stimulus + Turbo debugging](https://discuss.hotwired.dev/t/i-built-a-chrome-devtools-extension-for-stimulus-turbo-debugging/6433)

<div class="topic-metadata">

**Author:** [@dont\_panick](https://discuss.hotwired.dev/u/dont_panick)\
**Replies:** 5\
**Last updated:** [July 11, 2026, 3:50am UTC](https://discuss.hotwired.dev/t/i-built-a-chrome-devtools-extension-for-stimulus-turbo-debugging/6433 "2026-07-11T03:50:15Z")

</div>

Hey folks, I’ve been working on a Chrome extension called Hotwire DevTools and wanted to share it here since this community would probably get the most use out of it. The short version: it plugs into Chrome DevTools an…

---

## [Web standards Community Group](https://discuss.hotwired.dev/t/web-standards-community-group/6431)

<div class="topic-metadata">

**Author:** [@o-t-w](https://discuss.hotwired.dev/u/o-t-w)\
**Replies:** 0\
**Last updated:** [April 17, 2026, 11:06am UTC](https://discuss.hotwired.dev/t/web-standards-community-group/6431 "2026-04-17T11:06:59Z")

</div>

There is a new W3C community group for the maintainers of frontend JavaScript frameworks. It already has participation from Vue/Svelte/Solid/Preact/Astro. I was wondering whether the Hotwire team is planning to participa…

---

## [Search autocomplete with Stimulus and Rails](https://discuss.hotwired.dev/t/search-autocomplete-with-stimulus-and-rails/519)

<div class="topic-metadata">

**Author:** [@mrhead](https://discuss.hotwired.dev/u/mrhead)\
**Replies:** 8\
**Last updated:** [February 15, 2026, 5:58pm UTC](https://discuss.hotwired.dev/t/search-autocomplete-with-stimulus-and-rails/519 "2026-02-15T17:58:32Z")

</div>

Hey All! I’ve created a simple search autocomplete example with Stimulus and Rails 5.2. Please check it on GitHub and let me know if you have any questions: https://github.com/mrhead/stimulus-search

---

## [A to-do list application created with Hotwire](https://discuss.hotwired.dev/t/a-to-do-list-application-created-with-hotwire/1827)

<div class="topic-metadata">

**Author:** [@mrhead](https://discuss.hotwired.dev/u/mrhead)\
**Replies:** 3\
**Last updated:** [February 15, 2026, 5:46pm UTC](https://discuss.hotwired.dev/t/a-to-do-list-application-created-with-hotwire/1827 "2026-02-15T17:46:49Z")

</div>

Hey All, I have a to-do list application created with Hotwire and Ruby on Rails. The app was originally created with Server-generated JavaScript responses and I just migrated it to Hotwire. You can find the app here an…

---

## [AWS Simple Email and iCloud addresses](https://discuss.hotwired.dev/t/aws-simple-email-and-icloud-addresses/6416)

<div class="topic-metadata">

**Author:** [@tomdringer](https://discuss.hotwired.dev/u/tomdringer)\
**Replies:** 1\
**Last updated:** [January 29, 2026, 7:03pm UTC](https://discuss.hotwired.dev/t/aws-simple-email-and-icloud-addresses/6416 "2026-01-29T19:03:41Z")

</div>

Hi there, I’ve submitted my first app to the App Store and im stumbling at the first hurdle. With my app, you sign in, it sends you a login code, and you put in the code to enter the site/app. This works with any domai…

---

## [Events Query for Turbo Streams](https://discuss.hotwired.dev/t/events-query-for-turbo-streams/6414)

<div class="topic-metadata">

**Author:** [@CxRes](https://discuss.hotwired.dev/u/CxRes)\
**Replies:** 0\
**Last updated:** [January 18, 2026, 4:28pm UTC](https://discuss.hotwired.dev/t/events-query-for-turbo-streams/6414 "2026-01-18T16:28:32Z")

</div>

I currently have a proposal for HTTP based real time notifications protocol called Events Query at the HTTPAPI working group at IETF based on the soon to be standardized HTTP QUERY method, which could provide a new mecha…

---

## [Newly created Stimulus controllers not loading](https://discuss.hotwired.dev/t/newly-created-stimulus-controllers-not-loading/6412)

<div class="topic-metadata">

**Author:** [@ccuilla](https://discuss.hotwired.dev/u/ccuilla)\
**Replies:** 7\
**Last updated:** [January 16, 2026, 3:20pm UTC](https://discuss.hotwired.dev/t/newly-created-stimulus-controllers-not-loading/6412 "2026-01-16T15:20:59Z")

</div>

Has anyone see this… I have 2-3 existing Stimulus controller (created previously). These load fine. Today I created a couple new Stimulus controllers. But these are not being linked in \<head\> and, thus, not loading at …

---

## [Disabling turbo drive on body with \`data-turbo="false"\` stops frames from working](https://discuss.hotwired.dev/t/disabling-turbo-drive-on-body-with-data-turbo-false-stops-frames-from-working/6409)

<div class="topic-metadata">

**Author:** [@janpeterka](https://discuss.hotwired.dev/u/janpeterka)\
**Replies:** 1\
**Last updated:** [January 16, 2026, 9:57am UTC](https://discuss.hotwired.dev/t/disabling-turbo-drive-on-body-with-data-turbo-false-stops-frames-from-working/6409 "2026-01-16T09:57:14Z")

</div>

Until now, we used opt-in strategy on out web - we had Turbo.session.drive = false, and used turbo-frames and streams in some places. Now we wanted to allow Turbo Drive on part of the web. So I tried to delete \`Turbo.se…

---

## [Break out of a frame during form redirect](https://discuss.hotwired.dev/t/break-out-of-a-frame-during-form-redirect/1562)

<div class="topic-metadata">

**Author:** [@virk](https://discuss.hotwired.dev/u/virk)\
**Replies:** 29\
**Last updated:** [January 16, 2026, 9:52am UTC](https://discuss.hotwired.dev/t/break-out-of-a-frame-during-form-redirect/1562 "2026-01-16T09:52:21Z")

</div>

I began by moving my forms to a frame. On error, the server redirects back to the form with errors. Frames will replace the bounding HTML. All good till now However, after success, I want to move to a different page all…

---

## [Code examples display on one line](https://discuss.hotwired.dev/t/code-examples-display-on-one-line/6413)

<div class="topic-metadata">

**Author:** [@Zeff](https://discuss.hotwired.dev/u/Zeff)\
**Replies:** 1\
**Last updated:** [January 16, 2026, 9:41am UTC](https://discuss.hotwired.dev/t/code-examples-display-on-one-line/6413 "2026-01-16T09:41:23Z")

</div>

On the Stimulus Handbook site, in non-webkit browsers, the code examples display on one line.

---

## ["Islands" of hotwire in a native app?](https://discuss.hotwired.dev/t/islands-of-hotwire-in-a-native-app/6411)

<div class="topic-metadata">

**Author:** [@benjamin-hull](https://discuss.hotwired.dev/u/benjamin-hull)\
**Replies:** 1\
**Last updated:** [January 16, 2026, 9:37am UTC](https://discuss.hotwired.dev/t/islands-of-hotwire-in-a-native-app/6411 "2026-01-16T09:37:09Z")

</div>

Hi - fairly new to Hotwire and Hotwire Native especially. We have a pair of existing native apps that we’re interested in adding HwN to, and I’m wondering if the following is possible (or if I’m just thinking about this …

---

## [How to Avoid Adding Turbo Frame Navigation to Browser History](https://discuss.hotwired.dev/t/how-to-avoid-adding-turbo-frame-navigation-to-browser-history/6410)

<div class="topic-metadata">

**Author:** [@mschaef](https://discuss.hotwired.dev/u/mschaef)\
**Replies:** 2\
**Last updated:** [November 12, 2025, 2:51pm UTC](https://discuss.hotwired.dev/t/how-to-avoid-adding-turbo-frame-navigation-to-browser-history/6410 "2025-11-12T14:51:05Z")

</div>

Hello, I’m using Turbo Frames (7.1) to implement a simple system for modals in my application. I have a top level frame as a modal container and am using anchors to make frame requests to populate that container with wh…

---

## [Adapt back button to light/dark mode ( Hotwire Native Android )](https://discuss.hotwired.dev/t/adapt-back-button-to-light-dark-mode-hotwire-native-android/6298)

<div class="topic-metadata">

**Author:** [@sherpa00](https://discuss.hotwired.dev/u/sherpa00)\
**Replies:** 2\
**Last updated:** [November 3, 2025, 1:32pm UTC](https://discuss.hotwired.dev/t/adapt-back-button-to-light-dark-mode-hotwire-native-android/6298 "2025-11-03T13:32:16Z")

</div>

Hello, Is there any way to adapt the back button to Dark Mode. It’s good on the Light Mode as the tint color is always black but for Dark Mode I need it to be tint color white. I am using Hotwire Native Android ( Jumpst…

---

## [Response uses Content-Type "turbo-stream", even though template suffix is ".html.erb"](https://discuss.hotwired.dev/t/response-uses-content-type-turbo-stream-even-though-template-suffix-is-html-erb/3660)

<div class="topic-metadata">

**Author:** [@zoopzoop](https://discuss.hotwired.dev/u/zoopzoop)\
**Replies:** 5\
**Last updated:** [October 28, 2025, 7:51pm UTC](https://discuss.hotwired.dev/t/response-uses-content-type-turbo-stream-even-though-template-suffix-is-html-erb/3660 "2025-10-28T19:51:59Z")

</div>

After a redirect in response to a form submission with Turbo, the page is requested with Accept header “text/vnd.turbo-stream.html, text/html, application/xhtml+xml”. So far, so good. I want to return HTML, so I add re…

---

## [Link to open in browser from native app](https://discuss.hotwired.dev/t/link-to-open-in-browser-from-native-app/2580)

<div class="topic-metadata">

**Author:** [@SimonBo](https://discuss.hotwired.dev/u/SimonBo)\
**Replies:** 1\
**Last updated:** [October 20, 2025, 10:23am UTC](https://discuss.hotwired.dev/t/link-to-open-in-browser-from-native-app/2580 "2025-10-20T10:23:51Z")

</div>

I have native apps for iOs and Android built using hotwire adapter. There are some links that I’d like to open in a new browser instance instead of inside the native app. Can this be done using just html? Or native code …

---

## [Turbo Frame Redirect and Render](https://discuss.hotwired.dev/t/turbo-frame-redirect-and-render/6400)

<div class="topic-metadata">

**Author:** [@clap](https://discuss.hotwired.dev/u/clap)\
**Replies:** 1\
**Last updated:** [October 14, 2025, 8:37pm UTC](https://discuss.hotwired.dev/t/turbo-frame-redirect-and-render/6400 "2025-10-14T20:37:09Z")

</div>

Hi, I am trying to learn turbo and I’m working at the following thing: Have a modal to create a resource. Here I want to either re-render the view if the form validation fails, or redirect to edit\_path if the resource i…

---

## [Stimulus Suggestion: Controller Aliases](https://discuss.hotwired.dev/t/stimulus-suggestion-controller-aliases/4610)

<div class="topic-metadata">

**Author:** [@rbates](https://discuss.hotwired.dev/u/rbates)\
**Replies:** 9\
**Last updated:** [October 14, 2025, 8:48am UTC](https://discuss.hotwired.dev/t/stimulus-suggestion-controller-aliases/4610 "2025-10-14T08:48:04Z")

</div>

I would love the ability to alias a controller name in Stimulus. Here’s a possible interface. \<div data-controller="loader-\>product-loader" data-product-loader-url-value="https://..."\> \<div data-product-loader-target=…

---

## [Help with Turbo caching and page navigation](https://discuss.hotwired.dev/t/help-with-turbo-caching-and-page-navigation/6398)

<div class="topic-metadata">

**Author:** [@alimi](https://discuss.hotwired.dev/u/alimi)\
**Replies:** 2\
**Last updated:** [October 6, 2025, 7:25pm UTC](https://discuss.hotwired.dev/t/help-with-turbo-caching-and-page-navigation/6398 "2025-10-06T19:25:26Z")

</div>

I’m using Turbo in a pretty vanilla Rails 8 app. We have a few pages that render tables that users can filter. We’ve set things up so the filters live in a form outside the table, and the table is rendered inside a Turbo…

---

## [Hotwire\_native\_app?](https://discuss.hotwired.dev/t/hotwire-native-app/6395)

<div class="topic-metadata">

**Author:** [@cwills](https://discuss.hotwired.dev/u/cwills)\
**Replies:** 1\
**Last updated:** [September 18, 2025, 1:42am UTC](https://discuss.hotwired.dev/t/hotwire-native-app/6395 "2025-09-18T01:42:48Z")

</div>

I’m using \<% if hotwire\_native\_app? %\> to hide parts of a page if the user is using my iOS or Android app. This works in the iOS app but it doesn’t work in my Android app. In the Android app the user-agent doesn’t conta…

---

## [White Flash When Navigating Pages In a Dark Themed App](https://discuss.hotwired.dev/t/white-flash-when-navigating-pages-in-a-dark-themed-app/6377)

<div class="topic-metadata">

**Author:** [@mstry\_shck](https://discuss.hotwired.dev/u/mstry_shck)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 5:31pm UTC](https://discuss.hotwired.dev/t/white-flash-when-navigating-pages-in-a-dark-themed-app/6377 "2025-09-05T17:31:13Z")

</div>

Hi all, I have a dark-themed Hotwire Native app (Robinhood or Spotify-like) where all of the pages have a dark background (#272B30). When navigating between pages, there’s an annoying brief white flash while the WKWebvi…

---

## [How to reload a page after an external link visit then use of browser back?](https://discuss.hotwired.dev/t/how-to-reload-a-page-after-an-external-link-visit-then-use-of-browser-back/6387)

<div class="topic-metadata">

**Author:** [@watercannon](https://discuss.hotwired.dev/u/watercannon)\
**Replies:** 0\
**Last updated:** [September 4, 2025, 12:22pm UTC](https://discuss.hotwired.dev/t/how-to-reload-a-page-after-an-external-link-visit-then-use-of-browser-back/6387 "2025-09-04T12:22:10Z")

</div>

Hi, When my app page gets updated via turbo-stream and fetch+JavaScript, and the browser back button is used after an external link has been visited from that page, the page state before any of the updates is shown. Wha…

---

## [Turbo only supports one form submit at the time](https://discuss.hotwired.dev/t/turbo-only-supports-one-form-submit-at-the-time/5698)

<div class="topic-metadata">

**Author:** [@dbil25](https://discuss.hotwired.dev/u/dbil25)\
**Replies:** 1\
**Last updated:** [September 3, 2025, 12:28pm UTC](https://discuss.hotwired.dev/t/turbo-only-supports-one-form-submit-at-the-time/5698 "2025-09-03T12:28:15Z")

</div>

I noticed that turbo supports only on form submit at the time. In core/drive/navigator.js#submitForm, the ongoing form submission, if it exists, gets cancelled. I can see how it can make sense in a regular application, …

[Next page](https://discuss.hotwired.dev/latest.md?page=1)
