🐛 Fix de la selection de text dans la popover
parent
dbb25fcf3e
commit
ae4aaa7fa4
|
@ -107,7 +107,8 @@ export default function Popover(
|
|||
</CloseButton>
|
||||
</CloseButtonContainer>
|
||||
)}
|
||||
<PopoverContent ref={contentRef}>
|
||||
{/* tabIndex -1 is for text selection in popover, see https://github.com/adobe/react-spectrum/issues/1604#issuecomment-781574668 */}
|
||||
<PopoverContent tabIndex={-1} ref={contentRef}>
|
||||
{title && (
|
||||
<H2 as="h1" {...titleProps}>
|
||||
{title}
|
||||
|
|
Loading…
Reference in New Issue