diff --git a/packages/main/src/ListItem.ts b/packages/main/src/ListItem.ts index 4535f140dcd8..0e5f8241b92f 100644 --- a/packages/main/src/ListItem.ts +++ b/packages/main/src/ListItem.ts @@ -187,16 +187,6 @@ abstract class ListItem extends ListItemBase { @property({ type: Boolean }) actionable!: boolean; - /** - * Used to define the role of the list item. - * @private - * @default "listitem" - * @since 1.0.0-rc.9 - * - */ - @property({ defaultValue: "listitem" }) - role!: string; - /** * Defines the description for the accessible role of the component. * @protected @@ -518,7 +508,7 @@ abstract class ListItem extends ListItemBase { get _accInfo(): AccInfo { return { - role: this.listItemAccessibleRole || this.role, + role: this.listItemAccessibleRole, ariaExpanded: undefined, ariaLevel: undefined, ariaLabel: ListItem.i18nBundle.getText(ARIA_LABEL_LIST_ITEM_CHECKBOX), diff --git a/packages/main/src/themes/SplitButton.css b/packages/main/src/themes/SplitButton.css index f137bb369e91..76ff8ced0d18 100644 --- a/packages/main/src/themes/SplitButton.css +++ b/packages/main/src/themes/SplitButton.css @@ -3,7 +3,7 @@ :host(:not([hidden])) { display: inline-flex; - height: 100%; + height: var(--_ui5_button_base_height); border-radius: var(--_ui5_button_border_radius); background-color: var(--sapButton_Background); box-shadow: var(--_ui5_split_button_host_default_box_shadow); @@ -115,6 +115,7 @@ display: inline-flex; position: relative; width: inherit; + height: 100%; } .ui5-split-button-root:focus, diff --git a/packages/main/test/pages/SplitButton.html b/packages/main/test/pages/SplitButton.html index 47e3d9b0f226..5464861062f4 100644 --- a/packages/main/test/pages/SplitButton.html +++ b/packages/main/test/pages/SplitButton.html @@ -19,6 +19,10 @@

Wrapped Split Buttons

+
+ Random Text +
+
Random Text