ionic-team / ionic-team/ionic-framework

bug: Address bar does not hide when scrolling

未关闭
#30,808 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v8.x

### Current Behavior

Current behavior:
When scrolling in a mobile device's browser, the address bar and bottom tab bar remain visible. This is because we are scrolling the ion-content and not the body.

### Expected Behavior

Expected behavior:
When a user scrolls it should hide the address bar and the bottom tab bar.

Other information:

I noticed that this has been raised as a bug multiple times, the last time in 2019, and close as *won't fix* in 2021. - https://github.com/ionic-team/ionic-framework/issues/19081

I am wondering if the situation is different in 2025?

I would be happy to jump into the code and try and figure one out, if somebody could point me towards where the main issues are? Or is this a fundamental issue with the framework?

Cheers, John

### Steps to Reproduce

1. Open an Ionic app on a mobile device
2. Start scrolling
3. The browser controls don't go away

### Code Reproduction URL

https://any-ionic-app.com

### Ionic Info

Happy to dive into the code and have a go at fixing it, if someone can tell me where to look?

### Additional Information

Happy to dive into the code and have a go at fixing it, if someone can tell me where to look?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。