Fix emoji tooltip flickering because onMouseOut&onMouseOver fired when moving between children

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-04-12 00:12:58 +01:00
parent c000583099
commit 71b4aab5dc
1 changed files with 12 additions and 7 deletions

View File

@ -34,6 +34,10 @@ limitations under the License.
background-color: $reaction-row-button-selected-bg-color; background-color: $reaction-row-button-selected-bg-color;
border-color: $reaction-row-button-selected-border-color; border-color: $reaction-row-button-selected-border-color;
} }
// ignore mouse events for all children, treat it as one entire hoverable entity
* {
pointer-events: none;
} }
.mx_ReactionsRowButton_content { .mx_ReactionsRowButton_content {
@ -43,3 +47,4 @@ limitations under the License.
text-overflow: ellipsis; text-overflow: ellipsis;
padding-right: 4px; padding-right: 4px;
} }
}