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

TypeError: Cannot read property 'defaultView' of undefined #9

Closed
baiheinet opened this issue Jun 2, 2018 · 2 comments
Closed

TypeError: Cannot read property 'defaultView' of undefined #9

baiheinet opened this issue Jun 2, 2018 · 2 comments

Comments

@baiheinet
Copy link

_20180602080110

@baiheinet
Copy link
Author

我一点点排查
app.wxss 加上这个就好了 ,为什么
.container {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;

@gaojing007
Copy link

gaojing007 commented Oct 17, 2018

在组件的父View里面加上自定义的样式类,包含下面这些也可以:
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
或者给个高度就好:
height: 300px;

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