Browse Source

fix(feedback-dialog) Removed mouseover on mobile

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

Loading…
Cancel
Save