Dialog: Focus to input element set before transition ends #15749
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
with focusOnShow=true, the element is focues before the transition of the dialog is complete. A calendar inside the dialog is opened on the wrong position and outside of the display. You can fix it with transitionOptions="",
Environment
Windows 11,
VS Code
node v18
npm 10.5.0
Reproducer
https://stackblitz.com/edit/am62x2-n2bhjj?file=src%2Fapp%2Fdialog-basic-demo.html
Angular version
17.3.8
PrimeNG version
17.17.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: