ionic-team / ionic-team/ionic-framework
bug: datetime, scrolling two columns at once causes scroll position to be reset
- 主要语言
- 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/.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
- [ ] v4.x
- [ ] v5.x
- [X] v6.x
- [ ] Nightly
### Current Behavior
I think the video shows the issue pretty well. While its not broken, I feel like the UX isn't ideal.
### Video showcasing the blipping, or visual feedback is like "Whoa what just happened there"
```
```
https://user-images.githubusercontent.com/7741481/184932558-fe840d75-329e-4ff0-84d0-2dcf4e927a46.mov
### Expected Behavior
No visual blipping
### Steps to Reproduce
Unless there are some undocumented requirements for `IonDatetime`, the setup in my use case is just using it within an `IonApp`. No `IonContent`, `IonPage`, whatever.
Repro is simply to render the `IonDatetime` component, and then attempt to move wheels at the same time. Basically, don't wait for one wheel to stop before trying to move another.
### Code Reproduction URL
_No response_
### Ionic Info
Ionic: 6.2.2
Safari: 15.5
iPhone: 8
mode: `ios`
### Additional Information
_No response_
贡献指南
调研方向
从 IonDatetime 组件开始,在报告的 iPhone/Safari 设置上重现该问题:在任一滚轮停止之前移动两个滚轮。跟踪滚动和位置更新,然后验证两列同时滚动不再导致可见的重置或闪动。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100