[facebook/react-native]真机设备上三指截屏事件

2023-12-05 805 views
3

环境

D:\work\demo>react-native info

  React Native Environment Info:
    System:
      OS: Windows 10
      CPU: x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
      Memory: 1.46 GB / 7.64 GB
    Binaries:
      Yarn: 1.7.0 - C:\Users\admin\AppData\Roaming\npm\yarn.CMD
      npm: 5.6.0 - C:\Program Files\nodejs\npm.CMD

描述

小米设备上使用3指截屏时,出现此错误。任何一个页面,无关代码和环境

可重现的演示

图像

回答

4

确认一下这个问题。我用的是小米Mix 2

但我测试的0.55.4版本是没问题的。

0

你是对的。

部分小米手机使用三指手势截屏时会出现此问题。

4

我正在使用Mi5,Android 8.0,

  "dependencies": {
    "@babel/runtime": "^7.1.2",
    "antd-mobile-rn": "^2.2.1",
    "axios": "^0.18.0",
    "jsencrypt": "^3.0.0-rc.1",
    "react": "16.6.0-alpha.8af6728",
    "react-native": "0.57.1",
    "react-native-image-crop-picker": "^0.21.2",
    "react-native-linear-gradient": "^2.4.2",
    "react-native-modal-datetime-picker": "^6.0.0",
    "react-native-swiper": "^1.5.13",
    "react-native-vector-icons": "^6.0.2",
    "react-navigation": "^2.17.0",
    "react-redux": "^5.1.0",
    "redux": "^4.0.1",
    "redux-persist": "^5.10.0",
    "redux-promise": "^0.6.0",
    "redux-thunk": "^2.3.0"
  },