-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
pFocusTrap: focus stuck when ancestor of tabbable element is hidden #12349
Labels
LTS-FIXED-14.2.7
LTS-PORTABLE
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Comments
mmorgan4x
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Dec 7, 2022
here is my SCSS polyfill when using bootstrap5 display utilities to hide
|
PR #12402 |
cetincakiroglu
added
Status: Pending Review
Issue or pull request is being reviewed by Core Team
and removed
Status: Pending Review
Issue or pull request is being reviewed by Core Team
labels
Dec 20, 2022
cetincakiroglu
added
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Dec 28, 2022
cetincakiroglu
added a commit
that referenced
this issue
Dec 28, 2022
#12349 focus trap breaking on elements whose ancestors are hidden
cetincakiroglu
added a commit
that referenced
this issue
Dec 28, 2022
cetincakiroglu
added a commit
that referenced
this issue
Dec 28, 2022
Revert "#12349 focus trap breaking on elements whose ancestors are hidden"
github-actions
bot
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Dec 28, 2022
PR #12453 |
cetincakiroglu
added a commit
that referenced
this issue
Jan 16, 2023
#12349 pfocustrap hidden ancestor fix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
LTS-FIXED-14.2.7
LTS-PORTABLE
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Describe the bug
When tabbing through focusable elements in pFocusTrap, focus will get stuck prior to a tabbable element whose ancestor is display:none.
Environment
Chrome
Reproducer
https://stackblitz.com/edit/github-qrz39t?file=src/app/app.component.html
Angular version
14.0.7
PrimeNG version
15.0.0-rc.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
n/a
Browser(s)
chrome
Steps to reproduce the behavior
Focus on button 2. Hit tab to go to next element. Notice how focus is stuck.
Expected behavior
Focus should go to button 4.
The text was updated successfully, but these errors were encountered: