ionic-team / ionic-team/ionic-framework
bug: Scroll Behavior on IOS Device
- 主要语言
- TypeScript
- 星标
- 52.7k
- 派生
- 13.3k
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 50
描述
### 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
v7.x, v8.x
### Current Behavior
### Testing our Application on a real IPhone (Iphone 14 Pro)
When the Keyboard opens in an Form, there are 2 weird behaviors:
1. I can **not** scroll to the last elements
2. I can select the Ion-Header or Ion-Tab-Bar and scroll the whole Page
### Expected Behavior
I would expect that i can not drag the whole page and that the Ion-content is getting reduced to the available space between Header and Keyboard.
### Steps to Reproduce
1. Go To "https://stackblitz.com/edit/ifbpeyfz?file=index.html"
2. Select Tab "Listen Now"
3. Select second text-area
4. scroll on "ion-tab-bar" or "ion-header"
https://github.com/user-attachments/assets/8b784c9b-3405-4024-85b7-686e7c03d18a
### Code Reproduction URL
https://github.com/Allatu/IonicTest
### Ionic Info
Ionic:
Ionic CLI : 7.2.0
Ionic Framework: @ionic/core 8.4.1
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v20.15.0
npm : 10.7.0
OS : Windows 10
### Additional Information
_No response_
贡献指南
调研方向
首先,在真实 iPhone 上运行 StackBlitz 复现,并检查第二个文本区域打开键盘时 ion-content、ion-header 和 ion-tab-bar 的行为。完成标准是页面无法从 header 或 tab bar 处拖动,并且 ion-content 仍限制在 header 与键盘之间的空间内。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ios, typescript
- 领域
- frontend, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100