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

fix(mat/paginator): fix focus issues with paginator buttons #29379

Merged
merged 12 commits into from
Oct 3, 2024

Conversation

DBowen33
Copy link
Contributor

@DBowen33 DBowen33 commented Jul 3, 2024

NOTE: This is a rework of #29006, added disabledInteractive this time around so that when the paginator buttons becomes disabled, focus will not be lost

fixes b/286098030

@DBowen33 DBowen33 force-pushed the paginator-focus-fix-v2-07012024 branch from 42e7c94 to fcd35b3 Compare July 3, 2024 19:34
@DBowen33 DBowen33 marked this pull request as ready for review July 3, 2024 19:34
@DBowen33 DBowen33 requested a review from a team as a code owner July 3, 2024 19:34
@DBowen33 DBowen33 requested review from crisbeto and andrewseguin and removed request for a team July 3, 2024 19:34
@DBowen33 DBowen33 requested a review from crisbeto July 8, 2024 18:16
@DBowen33 DBowen33 requested a review from crisbeto July 8, 2024 19:50
fixed to where if paginator button gets disabled while focused, focus
will go to next appropriat button

fixes b/286098030
removed console logs

fixes b/286098030
update api

fixes b/286098030
fix comment

fixes #286098030
…tor buttons

added disabledInteractive to prevent focus from going to body whenever button becomes disabled

fixes b/286098030
fix broken tests

fixes b/286098030
fixed more broken tests

fixes b/286098030
changed paginator harness test to look for aria-disabled instead of disabled

fixes b/286098030
fix unit tests

fixes b/286098030
@DBowen33 DBowen33 force-pushed the paginator-focus-fix-v2-07012024 branch from 0a57f02 to b8fd8e8 Compare September 19, 2024 00:15
@andrewseguin andrewseguin added the dev-app preview When applied, previews of the dev-app are deployed to Firebase label Sep 23, 2024
Copy link

github-actions bot commented Sep 23, 2024

Deployed dev-app for a87f453 to: https://ng-dev-previews-comp--pr-angular-components-29379-dev-i4go42gm.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

DBowen33 and others added 2 commits September 24, 2024 19:07
merge

fixes b/286098030
fix style issue

fixes b/286098030
@DBowen33 DBowen33 force-pushed the paginator-focus-fix-v2-07012024 branch from 6c75730 to 3768788 Compare September 24, 2024 19:08
src/material/paginator/paginator.html Outdated Show resolved Hide resolved
remove class

fixes b/286098030
@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Oct 3, 2024
@andrewseguin andrewseguin added target: patch This PR is targeted for the next patch release target: major This PR is targeted for the next major release and removed target: patch This PR is targeted for the next patch release labels Oct 3, 2024
@andrewseguin andrewseguin merged commit 8f0369a into angular:main Oct 3, 2024
25 of 28 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker dev-app preview When applied, previews of the dev-app are deployed to Firebase target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants