59

I'm building a mobile app using jQuery Mobile 1.3.0, EaselJs 0.6.0 and TweenJs 0.4.0.

So, when I load the page, some content gets visually duplicated. The DIVs are not really duplicated, it is just visual.

  • This bug only appears on Safari (Windows + OSX).
  • If I click and slide to select the page, the bug disappears.
  • If I switch page (with jQuery Mobile slide transition), it also disappears.

Here is a screenshot:

Good and Bad screenshot examples

My code is massive so I cannot really post it fully here. I've just spent 2 hours playing around with my code to try to fix this. I really have no clue.

If you have an idea and need more information, then please let me know.

4

1 回答 1

1

不是一个漂亮的答案,而是一个适用于很多人的解决方法:

这听起来像是一个可能的赛车条件,您可以尝试在页面加载时设置超时(几个 MS),然后在超时后通过display: none/block打开body.

于 2020-01-27T08:21:58.850 回答