Skip to content

Commit

Permalink
fix for space bar paging
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsadetsky committed Apr 26, 2024
1 parent 006582d commit ba057bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DataRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function ExpandableObject({

const onKeyDown = (e: React.KeyboardEvent<HTMLSpanElement>) => {
if (e.key === ' ') {
e.preventDefault();
toggleExpanded();
}
};
Expand Down

0 comments on commit ba057bd

Please sign in to comment.