primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.68k stars 1.01k forks source link

Multiselect in a dialog component close the panel automatically when I choose an option #6455

Open crisscott opened 5 months ago

crisscott commented 5 months ago

Describe the bug

I have a dialog component inside other, when i choose an option the panel close auto.

033121

image

this not occur when I place the multiselect in body tag

image

this i my multiselect code

image

Reproducer

https://stackblitz.com/edit/stackblitz-starters-xmhuxo?file=app%2Fpage.tsx

PrimeReact version

10.6.3

React version

18.x

Language

TypeScript

Build / Runtime

Next.js

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

github-actions[bot] commented 5 months ago

Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.

crisscott commented 5 months ago

In this Stackblitz always close the panel.

https://stackblitz.com/edit/stackblitz-starters-xmhuxo?file=app%2Fpage.tsx

melloware commented 5 months ago

Looks related to this one as well: https://github.com/primefaces/primereact/issues/5838