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} (${index + 1})`
|
||||
}
|
||||
aria-keyshortcuts={
|
||||
index < ReactionsRowSize
|
||||
? (index + 1).toString()
|
||||
: undefined
|
||||
}
|
||||
>
|
||||
<CpdButton
|
||||
kind="secondary"
|
||||
className={styles.reactionButton}
|
||||
disabled={!canReact}
|
||||
onClick={() => sendReaction(reaction)}
|
||||
aria-keyshortcuts={
|
||||
index < ReactionsRowSize
|
||||
? (index + 1).toString()
|
||||
: undefined
|
||||
}
|
||||
>
|
||||
{reaction.emoji}
|
||||
</CpdButton>
|
||||
|
Loading…
Reference in New Issue
Block a user