Fix title tooltip appearing for fullscreen videos (#40127)
This commit is contained in:
parent
5a38e07865
commit
9b2b2dec07
@ -836,7 +836,7 @@ export const Video: React.FC<{
|
|||||||
role='button'
|
role='button'
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
aria-label={alt}
|
aria-label={alt}
|
||||||
title={alt}
|
title={fullscreen ? undefined : alt}
|
||||||
lang={lang}
|
lang={lang}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
onKeyDownCapture={handleVideoKeyDown}
|
onKeyDownCapture={handleVideoKeyDown}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user