Skip to content

Commit

Permalink
Add inline comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Nov 21, 2023
1 parent 1a09fb0 commit 0d8a8e0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export default function Pagination( {
const isFirstPage = currentPage === 1;
const isLastPage = currentPage === numPages;

// Buttons in this component use `tabIndex={ 0 }` to workaround a Safari bug not
// setting focus on buttons when clicking them. See https://github.com/WordPress/gutenberg/pull/56162
return (
<VStack className="block-editor-patterns__grid-pagination-wrapper">
<Text variant="muted">
Expand Down

0 comments on commit 0d8a8e0

Please sign in to comment.