Skip to content

Commit de36bbe

Browse files
ibdafnagaborbernat
authored andcommitted
Use the correct boolean flag..
Signed-off-by: Itay Dafna <[email protected]>
1 parent 7fb1b34 commit de36bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/core/datagrid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1949,7 +1949,7 @@ class DataGrid extends Widget {
19491949
* A message handler invoked on an `'activate-request'` message.
19501950
*/
19511951
protected onActivateRequest(msg: Message): void {
1952-
this.viewport.node.focus({preventScroll: false});
1952+
this.viewport.node.focus({preventScroll: true});
19531953
}
19541954

19551955
/**

0 commit comments

Comments
 (0)