浏览代码

fix(feedback-dialog) Removed mouseover on mobile

j8
robertpin 3 年前
父节点
当前提交
58ef72dce5
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5
    2
      react/features/feedback/components/FeedbackDialog.web.js

+ 5
- 2
react/features/feedback/components/FeedbackDialog.web.js 查看文件

@@ -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'

正在加载...
取消
保存