fix(feedback-dialog) Removed mouseover on mobile

This commit is contained in:
robertpin 2021-07-07 10:32:59 +03:00 committed by GitHub
parent 7f44442b21
commit 58ef72dce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import {
sendAnalytics
} from '../../analytics';
import { Dialog } from '../../base/dialog';
import { isMobileBrowser } from '../../base/environment/utils';
import { translate } from '../../base/i18n';
import { connect } from '../../base/redux';
import { cancelFeedback, submitFeedback } from '../actions';
@ -222,9 +223,11 @@ class FeedbackDialog extends Component<Props, State> {
key = { index }
onClick = { config._onClick }
onKeyPress = { config._onKeyPres }
onMouseOver = { config._onMouseOver }
role = 'button'
tabIndex = { 0 }>
tabIndex = { 0 }
{ ...(isMobileBrowser() ? {} : {
onMouseOver: config._onMouseOver
}) }>
{ isFilled
? <StarFilledIcon
label = 'star-filled'