Skip to content

Commit

Permalink
Merge pull request #368 from 1CRM/datatable-scroll-issue
Browse files Browse the repository at this point in the history
fixed datatable scroll issue
  • Loading branch information
alexivanenko authored Feb 8, 2024
2 parents 9a833c4 + decfa3f commit f513eb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/oceanfront/src/components/TableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ export default defineComponent({
return { coords, depth, fixArrowNext }
}
const mouseMove = (event: MouseEvent | TouchEvent) => {
if (event.cancelable) event.preventDefault()
if (event.cancelable && props.dragInfo?.dragInProgress)
event.preventDefault()
let index = null
let currentDepth = null
if (props.dragInfo?.dragInProgress) {
Expand Down

0 comments on commit f513eb2

Please sign in to comment.