Merge pull request #615 from Stremio/fix-player-time-tabindex

fix: remaining time tabindex
This commit is contained in:
Tim 2024-03-28 05:45:22 +01:00 committed by GitHub
commit 5a901601a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ const SeekBar = ({ className, time, duration, buffered, onSeekRequested }) => {
onSlide={onSlide}
onComplete={onComplete}
/>
<Button onClick={toggleRemainingTimeMode}>
<Button onClick={toggleRemainingTimeMode} tabIndex={-1}>
<div className={styles['label']}>
{remainingTimeMode && duration !== null && !isNaN(duration)
? formatTime(duration - time, '-')