【问题标题】:expo react native android clicking screen under stack navigation errorexpo react native android click screen under stack navigation error
【发布时间】:2020-05-09 06:04:50
【问题描述】:

我用 react-native 和 expo 制作了一个 Android 应用程序,我注意到我的应用程序中有一个非常奇怪的错误。是可以在当前屏幕下的stack navigator中点击屏幕的bug。

例如,假设这是堆栈导航器中的Home screen

如果我推送第三个标签,写为“컵”,它会在堆栈导航器中推送stack screen

之后,如果我按certain area of the screen(I marked on the image),它会转到this screen,这是当我按写为“asdf”的fourth tab in the home screen 时出现的屏幕。

我的猜测是它的发生是因为在当前屏幕下按下屏幕(共享相同的堆栈导航)是可能的。有人可以帮忙吗? ㅠㅠ

【问题讨论】:

    标签: android react-native navigation expo


    【解决方案1】:

    这里有同样的错误。发生于:

    "react-navigation-stack": "^2.2.3"
    

    通过降级解决问题:

    "react-navigation-stack": "^1.9.0"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-10-25
      • 2021-11-02
      • 1970-01-01
      • 2022-12-16
      • 2019-07-02
      • 2021-01-24
      • 2019-04-07
      • 1970-01-01
      相关资源
      最近更新 更多