Skip to content

Commit e0f3af7

Browse files
chintankavathiaspike-rabbit
authored andcommitted
fix(datatable): keep focused row in view when using keyboard
1 parent 9a0a9e8 commit e0f3af7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/element-ng/datatable/si-datatable-interaction.directive.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export class SiDatatableInteractionDirective implements OnDestroy, OnInit {
6565
(last as HTMLElement).focus();
6666
}
6767
}
68+
event.preventDefault();
6869
}
6970

7071
@HostListener('mousedown', ['$event'])

0 commit comments

Comments
 (0)