primereact icon indicating copy to clipboard operation
primereact copied to clipboard

`Dropdown` component fails to expand the dropdown box after adding the `filter` and `editable` properties.

Open Traveller23 opened this issue 6 months ago • 3 comments

Describe the bug

chrome_8kzdDvKBNG

As shown in the image, clicking the button does not expand the dropdown box, nor does entering text. As far as I remember, previous versions didn't have this problem.

Reproducer

https://stackblitz.com/edit/vitejs-vite-4yjebs?file=src%2FApp.tsx

PrimeReact version

10.5.1

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Traveller23 avatar Feb 21 '24 19:02 Traveller23

Interesting the showcase doesn't have the same behavior? https://primereact.org/dropdown/#filter

melloware avatar Feb 22 '24 12:02 melloware

Interesting the showcase doesn't have the same behavior? https://primereact.org/dropdown/#filter

Both filter and editable must be set at the same time for the problem to occur.

Traveller23 avatar Feb 22 '24 17:02 Traveller23

Thanks!

melloware avatar Feb 22 '24 17:02 melloware