ionic-team / ionic-team/ionic-framework

bug: ion-datetime within a triggered ion-modal does not match heights when outside of ion-modal

未关闭
#29,589 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
type: bug
主要语言
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

v8.x

### Current Behavior

Select the date '13, June 2024' the background blue circle will cover the bottom of '6, June 2024'.

But it will not happen in other months.

### Expected Behavior

Keep the same line height in every month.

### Steps to Reproduce

https://stackblitz.com/edit/angular-bqf3pd

see the screen recording.

https://github.com/ionic-team/ionic-framework/assets/17242425/e36e6b2c-6173-4670-8bfc-2d39beab5499

### Code Reproduction URL

https://stackblitz.com/edit/angular-bqf3pd

### Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.1.0
@angular-devkit/build-angular : 17.3.6
@angular-devkit/schematics : 17.3.6
@angular/cli : 17.3.6
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 6.0.0
@capacitor/android : 6.0.0
@capacitor/core : 6.0.0
@capacitor/ios : 6.0.0

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v18.13.0 (/usr/local/bin/node)
npm : 8.19.3
OS : macOS Unknown

### Additional Information

_No response_

贡献指南

打开贡献指南

调研方向

从链接的 StackBlitz 复现开始,将触发的 ion-modal 内的 ion-datetime 渲染与其外部的同一组件进行比较。调查 2024 年 6 月 13 日附近的月份布局;当每个月都保持一致的行高,且选定日期不与前一行重叠时完成。

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

评估

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

把新 issue 发到你的邮箱

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