File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import UI5Element from "@ui5/webcomponents-base/src/UI5Element.js";
22import ResizeHandler from "@ui5/webcomponents-base/src/delegate/ResizeHandler.js" ;
33import ItemNavigation from "@ui5/webcomponents-base/src/delegate/ItemNavigation.js" ;
44import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap.js" ;
5+ import { isSpace } from "@ui5/webcomponents-base/src/events/PseudoEvents.js" ;
56import TableColumn from "./TableColumn.js" ;
67import TableRow from "./TableRow.js" ;
78import TableRenderer from "./build/compiled/TableRenderer.lit.js" ;
@@ -170,6 +171,12 @@ class Table extends UI5Element {
170171 this . _itemNavigation . update ( event . target ) ;
171172 }
172173
174+ onkeydown ( event ) {
175+ if ( isSpace ( event ) ) {
176+ event . preventDefault ( ) ;
177+ }
178+ }
179+
173180 popinContent ( _event ) {
174181 const clientRect = this . getDomRef ( ) . getBoundingClientRect ( ) ;
175182 const tableWidth = clientRect . width ;
You can’t perform that action at this time.
0 commit comments