Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OverlayPanel: clicking on a nested component's appended overlay dissmisses the overlay panel #1391

Closed
VsevolodGolovanov opened this issue Jun 3, 2020 · 3 comments

Comments

@VsevolodGolovanov
Copy link

VsevolodGolovanov commented Jun 3, 2020

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
https://codesandbox.io/s/primereact-test-7nrw3

Current behavior
Clicking on a nested component's appended overlay dissmisses the overlay panel.

Expected behavior
Clicking on a nested component's appended overlay doesn't affect the overlay panel's visibility.

Minimal reproduction of the problem with instructions
Open the overlay panel.
Now click on a dropdown field inside to open its own overlay.
Click to select a dropdown item.
See the overlay panel hide itself.

image

Please tell us about your environment:

  • React version:
    16.13.1

  • PrimeReact version:
    4.2.0

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    Firefox 77.0

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

@VsevolodGolovanov
Copy link
Author

VsevolodGolovanov commented Jun 3, 2020

This doesn't happen in a dismissable Dialog: https://codesandbox.io/s/primereact-test-gw6xt - works fine with a Dialog.

@VsevolodGolovanov
Copy link
Author

VsevolodGolovanov commented Jun 17, 2020

This could be a duplicate of #1381, though that issue talks about Calendar specifically, so it's not clear if its fix is sufficient in general.

Update: the issue is still there in 4.2.2 for Dropdown. See https://codesandbox.io/s/primereact-test-g768u

@mertsincan mertsincan added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Feb 10, 2021
@mertsincan mertsincan self-assigned this Feb 10, 2021
@mertsincan mertsincan added this to the 6.1.0 milestone Feb 10, 2021
@mertsincan
Copy link
Member

Fixed in #1832

Best Regards,

@mertsincan mertsincan removed the Status: Pending Review Issue or pull request is being reviewed by Core Team label Mar 9, 2021
@mertsincan mertsincan removed their assignment Mar 9, 2021
@mertsincan mertsincan removed this from the 6.1.0 milestone Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants