weex icon indicating copy to clipboard operation
weex copied to clipboard

设置了max-height后在H5、IOS中不能启作用,最新playground和手淘包均无效

Open LeeJay0226 opened this issue 10 years ago • 4 comments

LeeJay0226 avatar Jul 05 '16 07:07 LeeJay0226

直接贴代码吧

luics avatar Jul 05 '16 10:07 luics

h5是起作用的,给包裹的div设置overflow:hidden;能看到效果。默认的overflow为visible,所以即使子元素超出了包裹div的max-height,仍然被显示了出来

MrRaindrop avatar Jul 05 '16 10:07 MrRaindrop

增加overflow: hidden;后在Android和ios上都正常了,但貌似这个属性在文档中都没有提到

LeeJay0226 avatar Jul 06 '16 13:07 LeeJay0226

合并至 #796

luics avatar Jul 21 '16 03:07 luics