Skip to content
This repository was archived by the owner on May 13, 2019. It is now read-only.

Conversation

pinqy520
Copy link
Contributor

昨天提交了ScrollView的一些展示不一致的问题,后来使用又发现了一些问题,例如:

  1. 如果去掉position: absolute 会让垂直的scrollview显示又会被flex box压缩,所以还是不能去掉。因此还是得手动设置scrollview的高度,不能被子元素撑起来,在文档中标出。
  2. 因为内部设置成了position: absolute,因此padding在scrollview中不会生效,所以把它挪到内层。
  3. 根节点样式去掉Flex之后第一个不会占满,因此设置一个view的高度100%。

现在已经没问题了

@yuanyan yuanyan merged commit fa658d3 into taofed:master May 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants