From ae4aaa7fa491048f3da5c34807a9070dd2024118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Tue, 29 Mar 2022 13:49:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20de=20la=20selection=20de?= =?UTF-8?q?=20text=20dans=20la=20popover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/source/design-system/Popover.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/source/design-system/Popover.tsx b/site/source/design-system/Popover.tsx index 70c0cb7a3..21bd8dbb7 100644 --- a/site/source/design-system/Popover.tsx +++ b/site/source/design-system/Popover.tsx @@ -107,7 +107,8 @@ export default function Popover( )} - + {/* tabIndex -1 is for text selection in popover, see https://github.com/adobe/react-spectrum/issues/1604#issuecomment-781574668 */} + {title && (

{title}