Skip to content

Commit 44bedf8

Browse files
authored
fix(AnalyticalTable): prevent event bubbling of ui5 controls (#659)
1 parent 5c0da16 commit 44bedf8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/main/src/components/AnalyticalTable/hooks/useSingleRowStateSelection.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ const tagNamesWhichShouldNotSelectARow = new Set([
88
'UI5-BUTTON',
99
'UI5-CHECKBOX',
1010
'UI5-COMBOBOX',
11-
'UI5-DATEPICKER',
1211
'UI5-MULTI-COMBOBOX',
1312
'UI5-SELECT',
1413
'UI5-RADIOBUTTON',
1514
'UI5-SEGMENTEDBUTTON',
1615
'UI5-SWITCH',
17-
'UI5-TOGGLEBUTTON'
16+
'UI5-TOGGLEBUTTON',
17+
'UI5-DATE-PICKER',
18+
'UI5-DATERANGE-PICKER',
19+
'UI5-DATETIME-PICKER',
20+
'UI5-DURATION-PICKER',
21+
'UI5-TIME-PICKER',
22+
'UI5-FILE-UPLOADER'
1823
]);
1924

2025
const getRowProps = (rowProps, { row, instance }) => {

0 commit comments

Comments
 (0)