# Bug XWI-161 - Persist collaped state for the wiki blocks when wiki tab is updated

Project: Stream XWiki integration
Status: closed
URL: https://community.openproject.org/work_packages/XWI-161

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Wiki |
| Target versions | 17.9.0 |
| Observed in versions | 17.7.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.7.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

###   

### Steps to reproduce

1.  Login as a user with wiki enabled for the project
    
2.  Click on the wiki tab so the tab will be active
    
3.  Expand &quot;Mentioned in description&quot; box
    
4.  Insert/create page for the WP and save the description
    
5.  &quot;Mentioned in description&quot; is collapsed
    

###   

### What is the expected behavior?

1.  After page insertion to the WP description or create a wiki link page, the boxes on the wiki tab should persist their collapsed state
    

<br>

### QA Wiki tab boxes keep their collapsed state

1.  Open a WP → go to the **Wiki** tab.
    
2.  Expand the _&quot;Mentioned in description&quot;_ box.
    
3.  In the WP **description**, insert/create a wiki page link and **save**.
    

✅ **Expected:** The box stays **expanded** (does not collapse on its own).

Also check: a **collapsed** box stays collapsed after the same save.

**Bug if:** any box resets its state after saving.

###
