离子滚动为什么不显示在离子应用程序中?
问题描述:
我想做我的应用程序可滚动的一部分。但只是这一部分。然后我这样使用:离子滚动为什么不显示在离子应用程序中?
<ion-content has-footer>
<ion-scroll scrollY="true">
test test
</ion-scroll>
</ion-content>
但是测试测试测试是不可见的。
你知道我在做什么错吗?
感谢 问候
答
请提供它的高度,那么这将是可见的。
<ion-content has-footer>
<ion-scroll scrollY="true" style="height:100vh">
test test
</ion-scroll>
</ion-content>