Skip to content

Lexxy not initializing when in a <turbo-frame> on 'advance' action. #688

@wdiechmann

Description

@wdiechmann

I started a discussion regarding this issue which does not show a lot of interest - either me and "Chet" have got lexxy completely wrong, or there is a precondition/requirement we are not aware of, or you guys are yet to start implementing/utilizing lexxy

In an 'album' I have this soup:

<turbo-frame id="main_content" src="http://localhost:3001/ended-2/albums/1259" complete="">
  <turbo-frame data-turbo-action="advance" id="album_block">
    ..8<..
    <a data-turbo-action="advance" data-turbo-frame="main_content" class="inline-flex items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 " href="/ended-2/albums/1259/photos/new">📸 Upload Billede</a>
    ..8<..
  </turbo-frame>
</turbo-frame>

When I click the 'Upload Billede' link, I see this in the log:

2026-01-26T06:43:50.392570446Z [0af7e1d1-148d-4881-ba3e-fbec47079484] Started GET "/ended-2/albums/1259/photos/new" for 172.70.240.17 at 2026-01-26 06:43:50 +0000
2026-01-26T06:43:50.394333591Z [0af7e1d1-148d-4881-ba3e-fbec47079484] Processing by PhotosController#new as HTML
2026-01-26T06:43:50.394435932Z [0af7e1d1-148d-4881-ba3e-fbec47079484]   Parameters: {"album_id" => "1259"}
2026-01-26T06:43:50.432162088Z [0af7e1d1-148d-4881-ba3e-fbec47079484] Completed 200 OK in 37ms (Views: 28.0ms | ActiveRecord: 2.8ms (8 queries, 1 cached) | GC: 3.4ms)

In the browser console I see:

turbo.es2017-esm.js:766 Hent afsluttede indlæsningen: GET "http://localhost:3001/ended-2/albums/1259/photos/new".

So - all is looking good - except (as the discussion details) the action text elements are not accessible but 'empty'.

I do hope this is a bug - and not me crying 'Wolf'
🥹

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions