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

Dialog/DynamicDialog: Opened dropdown options hidden while scrolling inside dialog #14519

Closed
kkoripl opened this issue Jan 10, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@kkoripl
Copy link

kkoripl commented Jan 10, 2024

Describe the bug

When dialog has scroll inside and layover with a dropdown (like p-dropdown or p-autocomplete), then opened dropdown options are hidden while scrolling away from the dropdown. This happens even when the dropdown component is still fully visible in the dialog.

Reproduced at demo page code locally, when added multiple dropdowns into p-dialog of https://primeng.org/dialog at 'Overlays Inside' part.

Locally reproduced exact same behaviour for DynamicDialog.

Environment

Windows 10
Primeng: v16.9.2-lts + Angular: v16.2.12 - reproduced at Stackblitz with: Primeng: v17.3.1 + Angular: v17.0.5

Reproducer

https://stackblitz.com/edit/6wqevt?file=src%2Fapp%2Fdemo%2Fdialog-overlays-inside-demo.ts

Angular version

16.2.12

PrimeNG version

16.9.2-lts

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.6.0+

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to given link and open the dialog
  2. Open one of the dropdowns (best in the middle of the dialog)
  3. Scroll in the dialog, but outside of opened dropdown

Expected behavior

Options should be still visible till the dropdown is fully visible in the dialog.

@kkoripl kkoripl added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 10, 2024
@mertsincan
Copy link
Member

Duplicate of #14518

@mertsincan mertsincan marked this as a duplicate of #14518 Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants