If appendTo property of confirmDialog is set, defaultFocus doesn't work #10722
Labels
LTS-FIXED-10.1.5
Fixed in PrimeNG LTS 10.1.5
LTS-FIXED-11.4.8
Fixed in PrimeNG LTS 11.4.8
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
https://stackblitz.com/edit/primeng-confirmdialog-demo-njbgh4?file=src%2Fapp%2Fapp.component.html
Current behavior
If 'appendTo' property is set, the button does not become focused (nor default, nor custom)
Expected behavior
Button
accept
should be focused by default.Minimal reproduction of the problem with instructions
Open stackblitz example from this primeng example page, add 'appendTo="body"' to any confirmDialog component.
The text was updated successfully, but these errors were encountered: