Would appear that the function of collapsing does work, however, on reload the settings are note remembered and the block is expanded even though it was previously collapsed. This is using the Languages Block which ships with Drupal.

Comments

sonvir249’s picture

Issue summary: View changes

Hi @polskikrol,

I am not able to reproduce the issue. It would be great help of you can provide the steps to reproduce the issue. Can you please add few screenshots ?

Thanks.

darvanen’s picture

Category: Bug report » Feature request
Status: Active » Closed (works as designed)

@sonvir249, I've had a look into this and the language picker block does not remember its state because it contains an active link (that is, a link with the class 'active' applied to it).

There is a comment in the code that says "Leave active blocks uncollapsed." though it doesn't say why.

If we changed this behaviour it would not be backwards compatible so it's probably something for a future version unless the maintainer decides the change has merit.

darvanen’s picture

Title: Languages Block (shipped with Drupal) does not work with Collapsiblock » Languages Block does not remember collapsed state
darvanen’s picture

Status: Closed (works as designed) » Active
Related issues: +#1953062: Collapsed by default not compatible with sortable table
darvanen’s picture

darvanen’s picture

Status: Active » Closed (duplicate)

See parent issue.