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

If appendTo property of confirmDialog is set, defaultFocus doesn't work #10722

Closed
deferenty opened this issue Oct 8, 2021 · 0 comments
Closed
Assignees
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

Comments

@deferenty
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

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.

@yigitfindikli yigitfindikli added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Oct 19, 2021
@yigitfindikli yigitfindikli self-assigned this Oct 19, 2021
@yigitfindikli yigitfindikli added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Oct 19, 2021
@yigitfindikli yigitfindikli added this to the 12.2.2 milestone Oct 19, 2021
@yigitfindikli yigitfindikli added LTS-FIXED-11.4.8 Fixed in PrimeNG LTS 11.4.8 LTS-FIXED-10.1.5 Fixed in PrimeNG LTS 10.1.5 and removed LTS-PORTABLE labels Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants