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

page定位导致页面无法滑动和绑定事件 #1

Open
haowanxing opened this issue Aug 24, 2021 · 2 comments
Open

page定位导致页面无法滑动和绑定事件 #1

haowanxing opened this issue Aug 24, 2021 · 2 comments

Comments

@haowanxing
Copy link

class="page"的view用来承载页面内容,但是它的样式定位导致了页面无法滚动和绑定点击事件。

@haowanxing
Copy link
Author

class="page"的view用来承载页面内容,但是它的样式定位导致了页面无法滚动和绑定点击事件。

我目前的解决方案是:

  1. 去掉.page样式。
  2. 将view修改为scroll-view用来承载页面内容。

@yaochangliang159
Copy link

class="page"的view用来承载页面内容,但是它的样式定位导致了页面无法滚动和绑定点击事件。

我目前的解决方案是:

  1. 去掉.page样式。
  2. 将view修改为scroll-view用来承载页面内容。

对,好像也只能这样解决了

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

2 participants