ionic-team / ionic-team/ionic-docs

bug: scroll assist activates in playground iframes

未关闭
#3,416 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
MDX
星标
621
派生
3.2k
平均合并
1 天 2 小时
30 天内合并 PR
86

描述

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/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

### Current Behavior

Content is pushed up on input focus on emulated chrome device

UPDATE: It happens on Android too, the extra space is also present when the Android native keyboard is pushed up

### Expected Behavior

Don't move

### Steps to Reproduce

If you go to the oficial documentation and turn on the device toolbar and focus an input, the content is pushed up

Without focus:
Screenshot 2024-01-13 at 11 58 52

With focus:
Screenshot 2024-01-13 at 11 59 01

### Code Reproduction URL

https://ionicframework.com/docs/api/input

### Ionic Info

Same as in the docs, I'm personally having the same issue on "@ionic/vue": "^7.6.3",

### Additional Information

I'm migrating from 6.x to 7.x, 6.x was fine.

贡献指南

打开贡献指南

调研方向

Start with the reproduction at https://ionicframework.com/docs/api/input and inspect how scroll assist behaves when an input inside a playground iframe receives focus. Verify the result in the emulated Chrome device and on Android; done means focusing the input does not push the content up or leave extra space.

由索引模型根据 Issue 内容生成。

评估

领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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