You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, onto the issue. Here’s how my application is structured (I'll show the important parts). The drawer component from DaisyUI has the following structure:
<body><divclass="drawer"><inputid="mydrawer" class="drawer-toggle" type="checkbox"><!-- checked state will make <aside> visible --><divclass="drawer-content"><headerid="header" data-turbo-permanent><labelfor="mydrawer" class="btn">Open drawer</label></header><!-- page content (<main>, <footer>, etc) --></div><asideid="aside" class="drawer-side" data-turbo-permanent><labelfor="mydrawer" class="drawer-overlay" aria-label="Close drawer"></label><!-- menu links (Home, etc.) --></aside></div></body>
With this setup, I have no problems at all interacting with <footer> links. The problems arise when:
I click a footer link i.e "Virtual card"
I open the drawer and click another page i.e. Home
I return to the page at 1. "Virtual cards" in this example
As you can see, the drawer reopens by itself for a moment, then the target link's content is morphed. It seems to me that when I click back to Home, the checked state of the input is somehow "restored" (why?). That's the reason the drawer will briefly show. Then, as the content of the target page is fetched and morphed, the not.checked state is replaced.
Working
NOT working / glitch
I sincerely thank in advance anyone who can help me understand whether this is normal behavior, a bug, or if I have misconfigured something.
The text was updated successfully, but these errors were encountered:
I have to admit, I'm pretty new to Turbo Drive, but I think I understand the basics and how it works.
I'm using Turbo Drive (v. 8.0.12) with the following settings:
Now, onto the issue. Here’s how my application is structured (I'll show the important parts). The drawer component from DaisyUI has the following structure:
With this setup, I have no problems at all interacting with
<footer>
links. The problems arise when:As you can see, the drawer reopens by itself for a moment, then the target link's content is morphed. It seems to me that when I click back to Home, the checked state of the input is somehow "restored" (why?). That's the reason the drawer will briefly show. Then, as the content of the target page is fetched and morphed, the
not.checked
state is replaced.I sincerely thank in advance anyone who can help me understand whether this is normal behavior, a bug, or if I have misconfigured something.
The text was updated successfully, but these errors were encountered: