# Latest

**URL:** https://discuss.hotwired.dev/latest.md?page=3

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

**Page:** 4

---

## [Redirect after Turbo stream response](https://discuss.hotwired.dev/t/redirect-after-turbo-stream-response/2303)

<div class="topic-metadata">

**Author:** [@feute](https://discuss.hotwired.dev/u/feute)\
**Replies:** 9\
**Last updated:** [January 17, 2025, 2:12am UTC](https://discuss.hotwired.dev/t/redirect-after-turbo-stream-response/2303 "2025-01-17T02:12:45Z")

</div>

Hello. I was wondering if there’s a way to perform a redirect after returning a Turbo stream response in Rails. For instance, in the chat app from the Hotwire screencast, they say that one can use a Stimulus controller …

---

## [Problem: Loss of value in a property](https://discuss.hotwired.dev/t/problem-loss-of-value-in-a-property/6175)

<div class="topic-metadata">

**Author:** [@GiovannyCordeiro](https://discuss.hotwired.dev/u/GiovannyCordeiro)\
**Replies:** 0\
**Last updated:** [January 16, 2025, 12:57am UTC](https://discuss.hotwired.dev/t/problem-loss-of-value-in-a-property/6175 "2025-01-16T00:57:32Z")

</div>

Guys, I’m having great difficulty defining a property that is shared with methods using Hotwire’s Stimullus. What happens is that I can’t keep the value of the this.draggedElement property when I set a new value for it …

---

## [Load tabs on demand with Turbo](https://discuss.hotwired.dev/t/load-tabs-on-demand-with-turbo/6171)

<div class="topic-metadata">

**Author:** [@bluemoonljb](https://discuss.hotwired.dev/u/bluemoonljb)\
**Replies:** 0\
**Last updated:** [January 15, 2025, 12:06am UTC](https://discuss.hotwired.dev/t/load-tabs-on-demand-with-turbo/6171 "2025-01-15T00:06:55Z")

</div>

We are new to Turbo framework, the stack is Symfony + Turbo + Twig template. we have navigation tabs and want those tabs to load on demand. at the moment we have tabs to load with turbo-frame and have lazy loading on, b…

---

## [Understanding \`bin/importmap pin\` urls](https://discuss.hotwired.dev/t/understanding-bin-importmap-pin-urls/6158)

<div class="topic-metadata">

**Author:** [@maxim](https://discuss.hotwired.dev/u/maxim)\
**Replies:** 5\
**Last updated:** [January 14, 2025, 3:21am UTC](https://discuss.hotwired.dev/t/understanding-bin-importmap-pin-urls/6158 "2025-01-14T03:21:28Z")

</div>

I’m not primarily a front-end developer, been slowly learning how to deal with the brave new importmaps world. I learned the hard way what it means that a js library is “fully bundled” and also “esm” (it usually has to …

---

## [Hotwire native - Dismiss modal and use redirect for screen below the modal](https://discuss.hotwired.dev/t/hotwire-native-dismiss-modal-and-use-redirect-for-screen-below-the-modal/6151)

<div class="topic-metadata">

**Author:** [@DimitarSpiroskiAtPW](https://discuss.hotwired.dev/u/DimitarSpiroskiAtPW)\
**Replies:** 2\
**Last updated:** [January 8, 2025, 9:13am UTC](https://discuss.hotwired.dev/t/hotwire-native-dismiss-modal-and-use-redirect-for-screen-below-the-modal/6151 "2025-01-08T09:13:58Z")

</div>

Hello, what is the best way to submit a form in a modal and then redirect the screen below the modal? For example, I have a /customers route that renders in a default context. On it I have a link to /customers/filter t…

---

## [Best way to do a dynamic has\_many nested form?](https://discuss.hotwired.dev/t/best-way-to-do-a-dynamic-has-many-nested-form/6147)

<div class="topic-metadata">

**Author:** [@gnarfle](https://discuss.hotwired.dev/u/gnarfle)\
**Replies:** 4\
**Last updated:** [January 6, 2025, 5:42pm UTC](https://discuss.hotwired.dev/t/best-way-to-do-a-dynamic-has-many-nested-form/6147 "2025-01-06T17:42:08Z")

</div>

I’m suspecting maybe this can’t easily be done with turbo but… Say you have a parent model that has many children. I’m trying to make a form with an “add child” button to dynamically insert a nested form. My initial appr…

---

## [Turbo-ios app works in iOS 17, fails before 16.4](https://discuss.hotwired.dev/t/turbo-ios-app-works-in-ios-17-fails-before-16-4/5799)

<div class="topic-metadata">

**Author:** [@Colman](https://discuss.hotwired.dev/u/Colman)\
**Replies:** 4\
**Last updated:** [January 3, 2025, 5:01pm UTC](https://discuss.hotwired.dev/t/turbo-ios-app-works-in-ios-17-fails-before-16-4/5799 "2025-01-03T17:01:47Z")

</div>

Simple enough turbo app. Everything works on 16.4 and after. On 16.2 and 16.3, 15.5 the view load fails without logging any error, displaying a warning window containing a very nicely designed blue warning triangle…

---

## [Stimulus vs Web Components](https://discuss.hotwired.dev/t/stimulus-vs-web-components/161)

<div class="topic-metadata">

**Author:** [@Mark\_Ellul](https://discuss.hotwired.dev/u/Mark_Ellul)\
**Replies:** 1\
**Last updated:** [January 2, 2025, 3:55am UTC](https://discuss.hotwired.dev/t/stimulus-vs-web-components/161 "2025-01-02T03:55:17Z")

</div>

Hi, I am creating a new site from scratch and I was wondering what’s the differences between using Stimulus and Web Components? Is there any reason to use Stimulus over Web Components? Regards Mark

---

## [Using Turbo with Rails seems to be returning old/cached value of AR object](https://discuss.hotwired.dev/t/using-turbo-with-rails-seems-to-be-returning-old-cached-value-of-ar-object/6126)

<div class="topic-metadata">

**Author:** [@adamtomecek](https://discuss.hotwired.dev/u/adamtomecek)\
**Replies:** 5\
**Last updated:** [December 30, 2024, 9:26pm UTC](https://discuss.hotwired.dev/t/using-turbo-with-rails-seems-to-be-returning-old-cached-value-of-ar-object/6126 "2024-12-30T21:26:29Z")

</div>

Hey! I’m encountering weird behaviour with Turbo streams using Rails and I’m out of ideas what’s going on as I’ve never seen such a behaviour. I have this simple one field form for changing a note. Wrapped in a turbo f…

---

## [Two requests after form submission redirect](https://discuss.hotwired.dev/t/two-requests-after-form-submission-redirect/6143)

<div class="topic-metadata">

**Author:** [@rience](https://discuss.hotwired.dev/u/rience)\
**Replies:** 4\
**Last updated:** [December 30, 2024, 8:12am UTC](https://discuss.hotwired.dev/t/two-requests-after-form-submission-redirect/6143 "2024-12-30T08:12:18Z")

</div>

Hi, I have a case in application where I need to redirect user to page with different layout (and different CSS / JS) after form submission. That redirection works but Turbo sends two requests for new page First one i…

---

## [Turbo not reloading frame when navigating backwards](https://discuss.hotwired.dev/t/turbo-not-reloading-frame-when-navigating-backwards/6132)

<div class="topic-metadata">

**Author:** [@Haziba](https://discuss.hotwired.dev/u/Haziba)\
**Replies:** 1\
**Last updated:** [December 28, 2024, 1:38pm UTC](https://discuss.hotwired.dev/t/turbo-not-reloading-frame-when-navigating-backwards/6132 "2024-12-28T13:38:35Z")

</div>

Hey team, I’m trying to set up a turbo project but I’m hitting a snag with history navigation. I’ve distilled it down to this github project: GitHub - Haziba/turbo-not-navigating-backwards The problem I’m having is that…

---

## [Turbo-frame lazy-loaded -\> crawling and indexing issue?](https://discuss.hotwired.dev/t/turbo-frame-lazy-loaded-crawling-and-indexing-issue/6115)

<div class="topic-metadata">

**Author:** [@BigBenJr](https://discuss.hotwired.dev/u/BigBenJr)\
**Replies:** 2\
**Last updated:** [December 26, 2024, 8:29am UTC](https://discuss.hotwired.dev/t/turbo-frame-lazy-loaded-crawling-and-indexing-issue/6115 "2024-12-26T08:29:21Z")

</div>

Hello, I would like to know if the content inside a turbo-frame lazy loaded (the content appears only when user scroll down next to the content at the bottom of the page) is correctly indexed by Google bot and other sea…

---

## [Migrating from turbo-ios/turbo-navigator to hotwire native](https://discuss.hotwired.dev/t/migrating-from-turbo-ios-turbo-navigator-to-hotwire-native/6134)

<div class="topic-metadata">

**Author:** [@yanshiyason](https://discuss.hotwired.dev/u/yanshiyason)\
**Replies:** 2\
**Last updated:** [December 23, 2024, 12:24pm UTC](https://discuss.hotwired.dev/t/migrating-from-turbo-ios-turbo-navigator-to-hotwire-native/6134 "2024-12-23T12:24:45Z")

</div>

Hi there, I am trying to migrate my app from turbo-ios + turbo-navigator to hotwire native, but running into a few issues. In turbo-ios, the docs contained instructions on how to detect 401 responses from the server so…

---

## [Hotwire Native iOS Tab Reloading Issue](https://discuss.hotwired.dev/t/hotwire-native-ios-tab-reloading-issue/6014)

<div class="topic-metadata">

**Author:** [@huseyinbiyik](https://discuss.hotwired.dev/u/huseyinbiyik)\
**Replies:** 2\
**Last updated:** [December 20, 2024, 5:45pm UTC](https://discuss.hotwired.dev/t/hotwire-native-ios-tab-reloading-issue/6014 "2024-12-20T17:45:41Z")

</div>

Hello, I am new to Hotwire Native and I have a fundamental question about it. I was implementing a native tab bar following SupeRails solution here but the problem is when I switch between tabs I lost the entered inputs…

---

## [Is it possible to replace part of the page during morph?](https://discuss.hotwired.dev/t/is-it-possible-to-replace-part-of-the-page-during-morph/6133)

<div class="topic-metadata">

**Author:** [@luizkowalski](https://discuss.hotwired.dev/u/luizkowalski)\
**Replies:** 1\
**Last updated:** [December 18, 2024, 2:08pm UTC](https://discuss.hotwired.dev/t/is-it-possible-to-replace-part-of-the-page-during-morph/6133 "2024-12-18T14:08:12Z")

</div>

Hey, I have something that is not really an issue but bothers me. I have a flash partial like this \<% flash.each do |(flash\_type, message)| %\> \<div data-controller="autoremove" data-action="animationend-\>autor…

---

## [Form that changes on user input without losing focus](https://discuss.hotwired.dev/t/form-that-changes-on-user-input-without-losing-focus/6117)

<div class="topic-metadata">

**Author:** [@Til](https://discuss.hotwired.dev/u/Til)\
**Replies:** 2\
**Last updated:** [December 18, 2024, 8:00am UTC](https://discuss.hotwired.dev/t/form-that-changes-on-user-input-without-losing-focus/6117 "2024-12-18T08:00:15Z")

</div>

Imagine you have a form that should change while the user edits it – such as an address form with country, state and city select fields where selecting one option should modify the available options in dependent select f…

---

## [Social Sign In without native page](https://discuss.hotwired.dev/t/social-sign-in-without-native-page/6012)

<div class="topic-metadata">

**Author:** [@jeduardo824](https://discuss.hotwired.dev/u/jeduardo824)\
**Replies:** 3\
**Last updated:** [December 17, 2024, 6:24am UTC](https://discuss.hotwired.dev/t/social-sign-in-without-native-page/6012 "2024-12-17T06:24:27Z")

</div>

Hi guys, I have a Sign-In flow in my app created using the new Rails 8 authentication generators. Everything works fine in the Hotwire Native app for the email/password login, but now I’m implementing Social Login with…

---

## [Turbo causing page flicker](https://discuss.hotwired.dev/t/turbo-causing-page-flicker/6111)

<div class="topic-metadata">

**Author:** [@joshuacronemeyer](https://discuss.hotwired.dev/u/joshuacronemeyer)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 6:55pm UTC](https://discuss.hotwired.dev/t/turbo-causing-page-flicker/6111 "2024-12-10T18:55:35Z")

</div>

Hi all I have a rails 7.2.2 app setup using importmaps and the default turbo setup. The behavior I am trying to understand is as follows: I have an index page of Posts (/posts) with a search form. It has a mapbox.js map…

---

## [Event to know a \`turbo-stream\` has been rendered](https://discuss.hotwired.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554)

<div class="topic-metadata">

**Author:** [@virk](https://discuss.hotwired.dev/u/virk)\
**Replies:** 29\
**Last updated:** [December 4, 2024, 12:46pm UTC](https://discuss.hotwired.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554 "2024-12-04T12:46:42Z")

</div>

The turbo:load event does not emit when the response contains a turbo-stream, which maybe is correct, since it is not a complete page load (not 100% sure). However, I am not able to find any event that notifies me when …

---

## [Modals with lazy-loaded background pages](https://discuss.hotwired.dev/t/modals-with-lazy-loaded-background-pages/6083)

<div class="topic-metadata">

**Author:** [@arby](https://discuss.hotwired.dev/u/arby)\
**Replies:** 1\
**Last updated:** [December 1, 2024, 8:03pm UTC](https://discuss.hotwired.dev/t/modals-with-lazy-loaded-background-pages/6083 "2024-12-01T20:03:09Z")

</div>

Hi there, I have a page that lists gizmos. The application layout looks like this: \<%= turbo\_frame\_tag :main do %\> \<%= yield %\> \<% end %\> \<%= turbo\_frame\_tag :modal %\> Each link in the gizmo list looks like this: \<%…

---

## [Testing Stimulus, Jest](https://discuss.hotwired.dev/t/testing-stimulus-jest/958)

<div class="topic-metadata">

**Author:** [@Peter](https://discuss.hotwired.dev/u/Peter)\
**Replies:** 5\
**Last updated:** [November 28, 2024, 4:29pm UTC](https://discuss.hotwired.dev/t/testing-stimulus-jest/958 "2024-11-28T16:29:32Z")

</div>

This is nice article about testing Stimulus + Jest

---

## [Turbo-iOS: Break out of frame?](https://discuss.hotwired.dev/t/turbo-ios-break-out-of-frame/5258)

<div class="topic-metadata">

**Author:** [@SylarRuby](https://discuss.hotwired.dev/u/SylarRuby)\
**Replies:** 2\
**Last updated:** [November 28, 2024, 1:45am UTC](https://discuss.hotwired.dev/t/turbo-ios-break-out-of-frame/5258 "2024-11-28T01:45:48Z")

</div>

I have a form input field that changes the content. This content is wrapped inside of a turbo frame tag" \<%= turbo\_frame\_tag :inventory do %\> content... \<% end %\> “content” has links where I use target: :\_top to break …

---

## [Unable to get a native bridge working with Rails 7.2 and Hotwire Native Bridge 1.0.0](https://discuss.hotwired.dev/t/unable-to-get-a-native-bridge-working-with-rails-7-2-and-hotwire-native-bridge-1-0-0/6024)

<div class="topic-metadata">

**Author:** [@nathanpalmer](https://discuss.hotwired.dev/u/nathanpalmer)\
**Replies:** 3\
**Last updated:** [November 27, 2024, 3:31pm UTC](https://discuss.hotwired.dev/t/unable-to-get-a-native-bridge-working-with-rails-7-2-and-hotwire-native-bridge-1-0-0/6024 "2024-11-27T15:31:40Z")

</div>

I’m following the iOS Turbo Native guides that are found here Just trying to connect up their exact example for the button, to ensure there is a proper connection going. It’s not working yet, one thing I’m noticing is…

---

## [Hiding Android Header with the new Hotwire Turbo](https://discuss.hotwired.dev/t/hiding-android-header-with-the-new-hotwire-turbo/6091)

<div class="topic-metadata">

**Author:** [@diegocharles](https://discuss.hotwired.dev/u/diegocharles)\
**Replies:** 0\
**Last updated:** [November 27, 2024, 2:42pm UTC](https://discuss.hotwired.dev/t/hiding-android-header-with-the-new-hotwire-turbo/6091 "2024-11-27T14:42:02Z")

</div>

Hey everyone, I’ve been facing some challenges during the migration from the old Turbo Native to the new Hotwire Native for Android. One of the specific issues I’m encountering is the inability to hide the app navigatio…

---

## [Hotwire Native iOS: Adding multiple right bar buttons](https://discuss.hotwired.dev/t/hotwire-native-ios-adding-multiple-right-bar-buttons/6086)

<div class="topic-metadata">

**Author:** [@ibrahima](https://discuss.hotwired.dev/u/ibrahima)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 9:18pm UTC](https://discuss.hotwired.dev/t/hotwire-native-ios-adding-multiple-right-bar-buttons/6086 "2024-11-26T21:18:43Z")

</div>

The Hotwire Native iOS guide shows how to add a single button to the navigation bar. However, what if I want more than one button? (Like, maybe 2 or 3, not trying to get too crazy with buttons.) I have found that you can…

---

## [Add and remove EventListeners](https://discuss.hotwired.dev/t/add-and-remove-eventlisteners/710)

<div class="topic-metadata">

**Author:** [@caplod](https://discuss.hotwired.dev/u/caplod)\
**Replies:** 3\
**Last updated:** [November 26, 2024, 7:23pm UTC](https://discuss.hotwired.dev/t/add-and-remove-eventlisteners/710 "2024-11-26T19:23:21Z")

</div>

I am converting a Modal to use Stimulus. When the modal is connected, I add a EventListener to listen for the escape key to close the modal. Thats working fine. When I open another modal on the same page I want to remo…

---

## [Turbo iOS Error](https://discuss.hotwired.dev/t/turbo-ios-error/6088)

<div class="topic-metadata">

**Author:** [@rafkander](https://discuss.hotwired.dev/u/rafkander)\
**Replies:** 0\
**Last updated:** [November 26, 2024, 5:33pm UTC](https://discuss.hotwired.dev/t/turbo-ios-error/6088 "2024-11-26T17:33:34Z")

</div>

I am using the demo version from the GitHub of turbo-ios, I launch the simulator and the demo page all works, when I change it to my rails website I get an error loading page, the page could not be loaded due to a config…

---

## [Multiple Strada components of the same name](https://discuss.hotwired.dev/t/multiple-strada-components-of-the-same-name/5368)

<div class="topic-metadata">

**Author:** [@joemasilotti](https://discuss.hotwired.dev/u/joemasilotti)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 9:23pm UTC](https://discuss.hotwired.dev/t/multiple-strada-components-of-the-same-name/5368 "2024-11-25T21:23:26Z")

</div>

If I connect two Strada components with the same name I can only reply to one of them. I’m not sure if this is intended behavior or not. My example is a ButtonComponent that adds native bar button items to an iOS app. W…

---

## [Unable to complete "Getting Started" (Hotwire Native iOS)](https://discuss.hotwired.dev/t/unable-to-complete-getting-started-hotwire-native-ios/6085)

<div class="topic-metadata">

**Author:** [@claudiob](https://discuss.hotwired.dev/u/claudiob)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 12:37am UTC](https://discuss.hotwired.dev/t/unable-to-complete-getting-started-hotwire-native-ios/6085 "2024-11-26T00:37:30Z")

</div>

Hello everyone. I’m trying to complete the very first step from I follow all the instructions and get to this step: Click Product → Run to launch the app in the simulator. You should see the following screen in the…

---

## [Accessing JS console in Hotwire Native apps](https://discuss.hotwired.dev/t/accessing-js-console-in-hotwire-native-apps/6082)

<div class="topic-metadata">

**Author:** [@ibrahima](https://discuss.hotwired.dev/u/ibrahima)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 12:02am UTC](https://discuss.hotwired.dev/t/accessing-js-console-in-hotwire-native-apps/6082 "2024-11-26T00:02:37Z")

</div>

Hi! I had a simple question which I can’t seem to find an answer to. I’m building Hotwire Native apps, and I’m wondering, is there any way to see the JS console logs for a Hotwire Native app? Like, if I put console.log i…

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

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