Browse Source

fix(feedback-dialog) Removed mouseover on mobile

master
robertpin 3 years ago
parent
commit
58ef72dce5
No account linked to committer's email address
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      react/features/feedback/components/FeedbackDialog.web.js

+ 5
- 2
react/features/feedback/components/FeedbackDialog.web.js View File

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

Loading…
Cancel
Save