Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios app wkwebview 启动左滑返回的话,路由跳转闪屏 #14

Open
camenling opened this issue Jun 30, 2023 · 7 comments
Open

ios app wkwebview 启动左滑返回的话,路由跳转闪屏 #14

camenling opened this issue Jun 30, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@camenling
Copy link

ios app wkwebview 启动左滑返回的话,路由跳转会闪屏, 先显示返回后的界面, 然后会再闪一下原界面

@camenling
Copy link
Author

注释掉transition不会了, 不明原因

@camenling
Copy link
Author

    <!-- <transition :name="getTransitionName" mode="out-in" appear> -->
      <keep-alive v-if="keepAliveComponents" :include="keepAliveComponents">
        <component :is="Component" />
      </keep-alive>
    <!-- </transition> -->

@xiaoming16
Copy link

xiaoming16 commented Jul 1, 2023

我也遇到了 同上 左滑上一步页面闪烁
ios15 Safari浏览器

@xiangshu233
Copy link
Owner

你们的组件是只有跟节点吗

@xiaoming16
Copy link

源代码就是这样哦 没有任何改动的

@camenling
Copy link
Author

应该是transition和ios的左滑返回冲突, 只启用其中一个就行

@xiangshu233 xiangshu233 pinned this issue Jul 4, 2023
@xiangshu233 xiangshu233 added the bug Something isn't working label Jul 4, 2023
@Vita-zzzxw
Copy link

我也遇到了 注释就没问题了

<!-- <transition :name="getTransitionName" mode="out-in" appear> -->
  <keep-alive v-if="keepAliveComponents" :include="keepAliveComponents">
    <component :is="Component" />
  </keep-alive>
<!-- </transition> -->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants