# Bug BNE-77 - Dropdown option order changes depending on selected item

Project: Stream BlockNote extensions
Status: closed
URL: https://community.openproject.org/work_packages/BNE-77

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS / OpenProject Extensions |
| Target versions | 17.5.0 |
| Observed in versions | 17.4.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.4.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Open a page with the editor (op-blocknote-extensions)
    
2.  Open the size selection dropdown for work package chip
    
3.  Select an option (e.g. switch between inline and block size)
    
4.  Reopen the dropdown
    

### What is the buggy behavior?

The order of options in the dropdown changes depending on the currently selected item.

### What is the expected behavior?

The dropdown should have a stable and predictable order of options, regardless of the selected item.
