File tree 1 file changed +7
-0
lines changed
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";
2
2
import ResizeHandler from "@ui5/webcomponents-base/src/delegate/ResizeHandler.js" ;
3
3
import ItemNavigation from "@ui5/webcomponents-base/src/delegate/ItemNavigation.js" ;
4
4
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap.js" ;
5
+ import { isSpace } from "@ui5/webcomponents-base/src/events/PseudoEvents.js" ;
5
6
import TableColumn from "./TableColumn.js" ;
6
7
import TableRow from "./TableRow.js" ;
7
8
import TableRenderer from "./build/compiled/TableRenderer.lit.js" ;
@@ -170,6 +171,12 @@ class Table extends UI5Element {
170
171
this . _itemNavigation . update ( event . target ) ;
171
172
}
172
173
174
+ onkeydown ( event ) {
175
+ if ( isSpace ( event ) ) {
176
+ event . preventDefault ( ) ;
177
+ }
178
+ }
179
+
173
180
popinContent ( _event ) {
174
181
const clientRect = this . getDomRef ( ) . getBoundingClientRect ( ) ;
175
182
const tableWidth = clientRect . width ;
You can’t perform that action at this time.
0 commit comments