didi / mand-mobile

💰 A mobile UI toolkit, based on Vue.js 2, designed for financial scenarios.
https://didi.github.io/mand-mobile
Apache License 2.0
3.46k stars 772 forks source link

Selector mask #290

Closed de1ck closed 5 years ago

de1ck commented 5 years ago

Mand Mobile Version

OS Version & Browser Version

Node Version, Package Management Tool

Recurring Links

Recurring Steps

Expectant Behaviors

Actual Behaviors

在children 组件中使用Selector image

xxyan0205 commented 5 years ago

在谁的children?从现象上来看是fixed的元素被包在了“absolute元素”里,如果是这种情况,这个组件需要被插入到“absolute元素”外

de1ck commented 5 years ago

在谁的children?从现象上来看是fixed的元素被包在了“absolute元素”里,如果是这种情况,这个组件需要被插入到“absolute元素”外 之前没有设置max-height 现在设置max-height后的效果 data 是有数据的, 如果放到外层的话,就能正常显示 image