# Bug OP-18014 - Toggleable fieldsets do not toggle

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18014

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Costs and budgets, Frontend components and Primer design system |
| Target versions | 16.6.0 |
| Observed in versions | 16.5.0 |
| Sprint | 16.6.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.5.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | Yes |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a user with permissions to manage time and costs.

2.  From either the global menu or left-hand menu, click Time and Costs. *N.B. This bug is only reproducible when navigating via the menu. Do not enter the URL directly in the browser OR press the browser's refresh button.*

3.  Click the ⌃ arrow (chevron) next to *Filter*, *Group By* or *Units*

### What is the buggy behavior?

  - The fieldset beings to close (the closing animation is shown) but then immediately re-opens.

  - The fields within the fieldset are still visible

### What is the expected behavior?

1.  The fieldset should collapse:
    
    1.  the fields within the fieldset should be hidden
    
    2.  the ⌃ arrow (chevron) should change to a ⌄ arrow to indicate the fieldset's collapsed state.

### Workaround/note

Fieldsets are toggleable after a hard reload of the page.

### Screenshots and other files

Video attached.

### Environment information

**OpenProject installation type**

  - Hosted cloud edition

**OpenProject version**

**Core build**

[63860412ca6a20551eec1452ef163bc42b0fc360](https://github.com/opf/openproject/commits/63860412ca6a20551eec1452ef163bc42b0fc360)

**Product version**

[757b160994d7a0c490ec4cdc7e6571c7b1dca270](https://github.com/opf/saas-openproject/commits/757b160994d7a0c490ec4cdc7e6571c7b1dca270)

**Core version**

OpenProject 16.6.0

**Browser**

- [x] Chrome
- [x] Firefox
- [x] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [ ] Windows
- [x] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

***en\_GB***
