mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-24 00:38:31 +08:00
keyshortcuts
This commit is contained in:
parent
f131b803eb
commit
880bb94dea
@ -179,17 +179,17 @@ export function ReactionPopupMenu({
|
|||||||
? reaction.name
|
? reaction.name
|
||||||
: `${reaction.name} (${index + 1})`
|
: `${reaction.name} (${index + 1})`
|
||||||
}
|
}
|
||||||
aria-keyshortcuts={
|
|
||||||
index < ReactionsRowSize
|
|
||||||
? (index + 1).toString()
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
<CpdButton
|
<CpdButton
|
||||||
kind="secondary"
|
kind="secondary"
|
||||||
className={styles.reactionButton}
|
className={styles.reactionButton}
|
||||||
disabled={!canReact}
|
disabled={!canReact}
|
||||||
onClick={() => sendReaction(reaction)}
|
onClick={() => sendReaction(reaction)}
|
||||||
|
aria-keyshortcuts={
|
||||||
|
index < ReactionsRowSize
|
||||||
|
? (index + 1).toString()
|
||||||
|
: undefined
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{reaction.emoji}
|
{reaction.emoji}
|
||||||
</CpdButton>
|
</CpdButton>
|
||||||
|
Loading…
Reference in New Issue
Block a user