#Qwik UI - Collapsible error when navigating to route using <Link>

12 messages · Page 1 of 1 (latest)

cobalt sun
#

Hi, I receive the following error when I try navigate to a route using the <Link> component, if I use <a> it works fine tho?

I am just trying it with the example so I havent adjusted any code:

<Collapsible class="collapsible">
      <CollapsibleTrigger class="collapsible-trigger">
        <span>Trigger</span>
        <SVG />
      </CollapsibleTrigger>
      <CollapsibleContent class="collapsible-content collapsible-content-outline ">
        Content
      </CollapsibleContent>
    </Collapsible>

Qwik UI: There is no reference to the collapsible content element. Make sure to wrap the content in a <CollapsibleContent> component. Error: Qwik UI: There is no reference to the collapsible content element. Make sure to wrap the content in a <CollapsibleContent> component

plain thunder
cobalt sun
#

the page doesnt load, I have to manually refresh and then it works.. just seems to occur when navigating via "spa" mode if that makes sense?

plain thunder
cobalt sun
#

I havent tried that, this was in dev mode

#

If it helps, I am using

"@builder.io/qwik": "^1.5.1",
"@builder.io/qwik-city": "^1.5.1",
"@qwik-ui/headless": "^0.3.4",
plain thunder
#

Hey @cobalt sun!

#

I've fixed the issue and added more tests to cover this. Will release a new version later tonight

cobalt sun
#

oh wow that was fast! Thank you very much!

plain thunder
cobalt sun
#

Thank you, I will do and report back later on once I've given it a go 🙂

cobalt sun