WAIT: BETA 1.12: CLS in Nestable tabs and accordion

Browser: Chrome 131.0.6778.205
OS: Windows
URL: Link

Hi bricks team,

1- In the nestable accordion element, if we use the Expand item indexes option, it will be applied with a delay on the front end.

2- In the nestable tabs element, the content of the tabs and the tab icon are rendered with a delay.

Hi @HOSEIN,

thank you. Yep, I see. The reason is that we open those items with JS, so when they first load, they are closed.

The same should actually happen even if you don’t use “Expand items”, right?

Matej

1 Like

Hi Matej,

If we don’t use Expand items, there will be no problem rendering the nestable accordion.

Hi,
yeah, in the old versions you had to have “Expand first item” control enabled. But the same was happening, since we expanded them with the JS as well.

Anyway, I’ve created an improvement task for this :slight_smile:

Thanks,
Matej

1 Like