From 7255e50d806c50644aa1e39d0d0896ae47880832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20URBIN?= Date: Wed, 24 Apr 2024 11:35:37 +0200 Subject: [PATCH] fix: remove delegatesFocus due to a Chromium bug with selecting text. --- list/internal/listitem/list-item.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/list/internal/listitem/list-item.ts b/list/internal/listitem/list-item.ts index d1a4f17954..d62cb9c43a 100644 --- a/list/internal/listitem/list-item.ts +++ b/list/internal/listitem/list-item.ts @@ -34,12 +34,6 @@ export class ListItemEl extends LitElement implements ListItem { requestUpdateOnAriaChange(ListItemEl); } - /** @nocollapse */ - static override shadowRootOptions = { - ...LitElement.shadowRootOptions, - delegatesFocus: true, - }; - /** * Disables the item and makes it non-selectable and non-interactive. */