Skip to content

Commit

Permalink
Fix inserter pattern pagination focus loss (#60620)
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan authored and creativecoder committed May 1, 2024
1 parent be077ee commit 9ad8c97
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default function Pagination( {
onClick={ () => changePage( 1 ) }
disabled={ currentPage === 1 }
aria-label={ __( 'First page' ) }
__experimentalIsFocusable
>
<span>«</span>
</Button>
Expand All @@ -53,6 +54,7 @@ export default function Pagination( {
onClick={ () => changePage( currentPage - 1 ) }
disabled={ currentPage === 1 }
aria-label={ __( 'Previous page' ) }
__experimentalIsFocusable
>
<span></span>
</Button>
Expand All @@ -75,6 +77,7 @@ export default function Pagination( {
onClick={ () => changePage( currentPage + 1 ) }
disabled={ currentPage === numPages }
aria-label={ __( 'Next page' ) }
__experimentalIsFocusable
>
<span></span>
</Button>
Expand All @@ -84,6 +87,7 @@ export default function Pagination( {
disabled={ currentPage === numPages }
aria-label={ __( 'Last page' ) }
size="default"
__experimentalIsFocusable
>
<span>»</span>
</Button>
Expand Down

0 comments on commit 9ad8c97

Please sign in to comment.