Skip to content

p-calendar, p-dropdown inside dialog closes on scroll #18972

@ViktorKim

Description

@ViktorKim

Describe the bug

p-calendar, p-dropdown inside dialog closes on scroll

Screen.Recording.2025-10-02.at.14.47.47.mov

Similar issue #9900

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/qpqduvw4?file=src%2Fapp%2Fdialog-basic-demo.html

Environment

macOS
chrome browser
node: 20.19.1
angular: 20
primeng: 20

Angular version

20

PrimeNG version

v20

Node version

20.19.1

Browser(s)

No response

Steps to reproduce the behavior

  1. go to https://stackblitz.com/edit/qpqduvw4?file=src%2Fapp%2Fdialog-basic-demo.html
  2. click "show" button to open dialog
  3. inside dialog open calendar or dropdown
  4. scroll the dialog content

Expected behavior

calendar/dropdown shouldn't close on scroll

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions