Skip to content

Commit

Permalink
Fix tables jumping on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Nov 22, 2023
1 parent 446cfba commit 2593ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/data-list/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ export default {
},
checkboxClicked(row, index, $event) {
this.$refs.table.focus();
if ($event.shiftKey && this.lastItemClicked !== null) {
this.$refs.table.focus();
this.selectRange(
Math.min(this.lastItemClicked, index),
Math.max(this.lastItemClicked, index)
Expand Down

0 comments on commit 2593ccb

Please sign in to comment.