1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Show reaction title and shortcode on hover

This shows the title and shortcode for the hovered reaction at the bottom of the
tooltip. If nothing is hovered, a blank space is shown for now, but will
eventually become a link to a full emoji picker in future work.

Part of https://github.com/vector-im/riot-web/issues/9753
This commit is contained in:
J. Ryan Stinnett
2019-06-25 18:15:03 +01:00
parent c1821fabd3
commit 93384f91f5
3 changed files with 63 additions and 9 deletions

View File

@@ -57,6 +57,7 @@ export default class ReactionTooltipButton extends React.PureComponent {
});
return <span className={classes}
data-key={content}
title={this.props.title}
aria-hidden={true}
onClick={this.onClick}