Dynamic Dialog: Prevent scroll to top when child dialog closes in parent dialog #16024
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
I have nested dialogs using primeng dialog service, I set focusOnShow false. When I closes dialog B inside dialog A, dialog A's component scrolled to top and first focusable element receives focus. How to prevent it.
Environment
Reproducer
No response
Angular version
17.3.0
PrimeNG version
17.15.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.13.0
Browser(s)
Version 126.0.6478.127
Steps to reproduce the behavior
No response
Expected behavior
When dialog B closes I want parent dialog A's scroll position as it was before opening dialog B.
The text was updated successfully, but these errors were encountered: