Details block doesn’t obey open

Let’s try

[details open]
This should be visible
[/details]

This should be visible

And

<details open>
This should be visible
</details>
This should be visible

I don’t know when this broke, because I don’t use it every day. But [details open] worked earlier. I use open every now and then when sharing AI conversations.

3 Likes

Hmm unfortunately this looks like a regression from quite a while ago.

This won’t be an urgent fix for us so adding a pr-welcome for now.

2 Likes

Fair enough.

It is rarely used, I reckon. And I can bypass it using <details> and <summary>. I lose that cool AI-tag then, but perhaps I’ll survive without it :sob: :joy:

1 Like

Hey. I have always used details like this

[details="open"]
This should be visible
[/details]
open

This should be visible

I wasn’t aware you could also use

<details open>
This should be visible
</details>

Will try with the =

<details=“open”>
This should be visible

Doesn’t work as above

<details="open">
This should be visible
</details>

Only seems to work as per your last example.

This should be visible

Kind of cool though as the <> see s to default to open. Always learning new things)routes in discourse.

2 Likes

Damn. I can’t use the <details open> trick, because I have a totally wonderful design of Different look for details-block - #2 by Don in use.

Well, I must wait until someone who understands how things work has time to solve this. Not a deal breaker, though.

2 Likes

That is pretty sweet! Thanks for highlighting Don’s awesome component!

1 Like

That will do it:

I was waiting for laundromat :man_shrugging:

3 Likes

That comment made my day :joy:

Thanks!

2 Likes

I’d the open working for you on @Don Custom hidden details?

I get this

1 Like

I see the topic was opened. It was closed earlier. Answers my question to Jag. Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.