最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - how to prevent content scrolling behind footer in ionic framework - Stack Overflow

programmeradmin1浏览0评论

My app is built using ionic framework (/).

Do you know how to prevent scrolling page content to not scroll behind the footer?

This is currently resulting in content I cannot see. I'd rather have the scrolling region's boundary end at the top of the footer (rather than the bottom of the screen). Is this possible?

My app is built using ionic framework (http://ionicframework./docs/api/directive/ionScroll/).

Do you know how to prevent scrolling page content to not scroll behind the footer? http://ionicframework./docs/ponents/#footer

This is currently resulting in content I cannot see. I'd rather have the scrolling region's boundary end at the top of the footer (rather than the bottom of the screen). Is this possible?

Share Improve this question asked Apr 8, 2014 at 1:43 thinkbigthinksmallthinkbigthinksmall 9045 gold badges10 silver badges19 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 9

If you're using the ion-footer-bar on your abstract template (your router config will have a a value 'abstract') you can apply has-footer to your ion-content (or use it on ion-view too, I think)

You could use the padding utility class to add some breathing room at the bottom of the content area.

发布评论

评论列表(0)

  1. 暂无评论