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 组件点返回白屏遮挡问题 #937

Open
gerry2017 opened this issue Jun 20, 2017 · 13 comments
Open

ios 组件点返回白屏遮挡问题 #937

gerry2017 opened this issue Jun 20, 2017 · 13 comments

Comments

@gerry2017
Copy link

遇到ios 点返回按钮时白屏问题
官网苹果手也有白屏问题

default

default

@ekoooo
Copy link

ekoooo commented Jul 21, 2017

有解决办法么?

@DeronEndless
Copy link

有解决的方案吗

@wengcd
Copy link

wengcd commented Aug 1, 2017

+1

@ekoooo
Copy link

ekoooo commented Aug 2, 2017

vuejs/vue#5533

added the following code after the data fetch:

this.$nextTick(() => {
      window.scrollTo(0, 1)
      window.scrollTo(0, 0)
})

@zzialx
Copy link

zzialx commented Aug 29, 2017

上面的代码好像解决了我的问题,

@hsir05
Copy link

hsir05 commented Oct 12, 2017

你好,分辨率高的情况下,组件会变的很小,请问你是怎么解决的

@fygethub
Copy link

fygethub commented Feb 1, 2018

React 路过, 同样的问题用ios右滑返回会出现某些页面会白屏,但是Android没有问题ios系统版本11.2

@gongfuxiaocai
Copy link

请问,这个问题解决了么

@XieChuanfang
Copy link

@furybean 请问这个问题解决了么?同样遇到这个问题,safari和微信内置浏览器都有这种问题

@PLQin
Copy link

PLQin commented Sep 7, 2020

# 我的问题

vue 在 ios safari , 右滑返回首页时页面先变空白, 接着展示上一个页面的内容 , 最后回到首页 ;

PS : 并不仅仅是返回首页时才有这个问题, 其他页面也存在这个现象

# 我是如何解决的

放弃使用 vue transition , emmm 太难了

@lzxb
Copy link

lzxb commented Jul 22, 2022

2022年了,我也遇到了这个问题。

@lzxb
Copy link

lzxb commented Jul 22, 2022

this.$nextTick(() => {
      window.scrollTo(0, 1)
      window.scrollTo(0, 0)
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

12 participants