590 search results for Turbo

80 lines | templates/main/homepage.html.twig
// ... lines 1 - 43
<div
data-controller="popover"
data-action="mouseenter->popover#show mouseleave->popover#hide"
class="relative"
>
// ... lines 49 - 54
<div data-popover-target="content">
<div
data-popover-target="card"
class="max-w-sm rounded shadow-lg bg-gray-900 absolute left-0 bottom-10"
>
<turbo-frame id="planet-card-{{ voyage.planet.id }}" target="_top" src="{{ path('app_planet_show_card', {
'id': voyage.planet.id,
}) }}"></turbo-frame>
</div>
</div>
</div>
// ... lines 66 - 80
See Code Block in Script
... browser, it would load the whole page - the page with the multiple live components and turbo frames. B) Let's also assume that the 2nd turbo frame - the one that shows the results - looks like this: ```html ...
weaverryan
weaverryan
Read Full Comment
... ": "^7.16.0", "@hotwired/stimulus": "^3.0.0", "@hotwired/turbo": "^7.0.1", "@popperjs/core": "^2.11.8", "@symfony/stimulus-bridge": "^3.2.0", "@symfony/ux-turbo": "file:vendor ...
... was This is probably ok - there IS A slightly different behavior now (actually, introduced by me darn it!) from when I made the video. We talk briefly about it here - https://symfonycasts.com/screencast/turbo/mercure ...
weaverryan
weaverryan
Read Full Comment
186 lines | assets/styles/app.css
// ... lines 1 - 18
turbo-frame {
display: block;
}
// ... lines 22 - 186
See Code Block in Script
183 lines | assets/styles/app.css
// ... lines 1 - 18
turbo-frame[busy] {
opacity: .2;
}
// ... lines 22 - 183
See Code Block in Script
41 lines | importmap.php
// ... lines 1 - 15
return [
// ... lines 17 - 36
'@hotwired/turbo' => [
'version' => '7.3.0',
],
];
See Code Block in Script
Hello, Are your turbo-frames nested? ```twig ... ``` ...
169 lines | assets/styles/app.css
// ... lines 1 - 7
/*
[data-turbo-preview] body {
opacity: .2;
}
*/
// ... lines 13 - 169
See Code Block in Script
167 lines | assets/styles/app.css
// ... lines 1 - 7
[data-turbo-preview] body {
opacity: .2;
}
// ... lines 11 - 167
See Code Block in Script
{% extends app.request.headers.get('turbo-frame') == 'modal' ? 'modalFrame.html.twig' : 'base.html.twig' %}
See Code Block in Script
... that handles the form via Ajax. These days, I would almost definitely solve this with Turbo (using the native Turbo Ajax form submit or a `` if needed. Cheers!
weaverryan
weaverryan
Read Full Comment
Hello, I am having a bit of a problem getting the content to load in the turbo-frame in the dialog. I followed the video, and when I click new voyage, the turbo-frame says completed, but there is nothing inside. I ...
Thanks alot for the response, Victor. While time passed, I found the problem. As a newbie with turbo, I got a bit confused about the turbo frames and how everything works together. The flash message got written just ...
... they are pretty cool thing including Turbo Streams. However it also may be that this is just not your tool, so you can completely ignore them and use only Stimulus and Turbo Drive on your website. Cheers!
I have issues with test execution speed :/ It looks like that `waitForTurboFrameLoad`check for any `turbo-frame[aria-busy="true"]` in the page is executed before Turbo adds the `aria-busy="true"` attribute to the ...
fbourigault
fbourigault
Read Full Comment
I ran into a problem with turbo, where it made Ajax Calls for stuff in the profiler-bar as well. Every time i hover over an icon in the profiler bar, the ajax call-counter increments and another entry is made. A quick ...
Michael-B
Michael-B
Read Full Comment
LATE reply on this, but I was just trying the app on Turbo 7.3, and it still looks like it fails... which I think makes sense. When we make an Ajax request and its redirected to `/login`, that's unfortunately ...
weaverryan
weaverryan
Read Full Comment
I am getting the following error after adding the `turbo_stream_listen` twig function: > An exception has been thrown during the rendering of a template ("The Turbo stream transport "default" doesn't exist ...
Hey @weaverryan, this is exactly the problem. I loads correctly on first page load, but fails on subsequent turbo visits. I will try out your proposal, thanks for that! My hypotheses at the moment (after downloading ...
Strahil-R
Strahil-R
Read Full Comment