Skip to content

Conversation

@TrySound
Copy link
Member

@TrySound TrySound commented Mar 2, 2025

User reported in discord.

Radix components like accordion does not open first item by default when use with content block. The reason was in our default detection.

We used indexes within ancestor and when put item inside of content block template it gets 0 but not rendered.

Here improved the logic to reset index when render inside of block template.

Screenshot 2025-03-01 at 21 14 09

User reported in discord.

Radix components like accordion does not open first item by default when
use with content block. The reason was in our default detection.

We used indexes within ancestor and when put item inside of content
block template it gets 0 but not rendered.

Here improved the logic to reset index when render inside of block
template.
@TrySound TrySound requested review from johnsicili and kof March 2, 2025 06:53
@TrySound TrySound merged commit bdf4463 into main Mar 4, 2025
17 checks passed
@TrySound TrySound deleted the content-block branch March 4, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants