如何在没有滚动条的情况下构建 Ionic 应用程序

How to build an Ionic app without the scroll

我正在构建一个 Ionic 应用程序,但是一旦页面变大,应用程序就会出现一个滚动条,有什么方法可以去除滚动条并让应用程序更原生?

我的代码只有 2 张幻灯片,其中包含一些产品描述和类别。

“Ionic Lab”是一个已弃用的桌面应用程序,sunsetted in 2016. the Ionic CLI command "ionic serve" lets you serve the app locally in a browser. So it appears you're previewing your application in a web browser. When doing this, it's not going to appear or behave exactly as it will on a real mobile device. If you run a build, open your app in Xcode and test in the iOS simulator,您很可能会看到没有滚动条可见。

使用 ionic serve 在浏览器中进行本地测试非常实用且有用,但不应认为预览是 100% 准确的本机预览。