Skip to content

Commit

Permalink
Merge pull request #721 from rlucke/issue-622
Browse files Browse the repository at this point in the history
 Pagination selector cannot be controlled with the keyboard #622
  • Loading branch information
Arnei authored Jun 26, 2024
2 parents e367306 + 2951526 commit 3af5bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/shared/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const Table = ({

{/* Selection of page size */}
<div id="tbl-view-controls-container">
<div
<button
className="drop-down-container small flipped"
onClick={() => setShowPageSizes(!showPageSizes)}
// @ts-expect-error TS(2322): Type 'RefObject<unknown>' is not assignable to typ... Remove this comment to see the full error message
Expand All @@ -331,7 +331,7 @@ const Table = ({
))}
</ul>
)}
</div>
</button>

{/* Pagination and navigation trough pages */}
<div className="pagination">
Expand Down

0 comments on commit 3af5bed

Please sign in to comment.