ionic-team / ionic-team/ionic-framework

bug: ion-modal handle transformZ results in blurry content on Windows

未关闭
#26,159 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
package: core 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/.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

When using ion-modal in the browser (From PC, windows 10, chrome last), the content is rendered fuzzy, as if in a small screen resolution (not clear text and all elements)

![image](https://user-images.githubusercontent.com/16963395/197514285-3d611ede-38e3-4d9d-97ad-96c94e00468a.png)

![image](https://user-images.githubusercontent.com/16963395/197515021-d3f6e9b1-ddd1-47fd-87b9-612bf4104489.png)

Example content outside of ion-modal
![image](https://user-images.githubusercontent.com/16963395/197514451-b74e9433-4878-447e-80d9-e2523867cc42.png)

From a mobile device, the display is normal

### Expected Behavior

Content stays blurry

### Steps to Reproduce

unclear

### Code Reproduction URL

_No response_

### Ionic Info

Ionic:

Ionic CLI : 6.20.3
Ionic Framework : @ionic/vue 6.3.2

Capacitor:

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

Utility:

cordova-res : 0.15.4
native-run : 1.7.1

System:

NodeJS : v16.15.1 (C:\Program Files\nodejs\node.exe)
npm : 8.19.2
OS : Windows 10

### Additional Information

_No response_

贡献指南

打开贡献指南

调研方向

首先,在 Windows 10 上使用所报告的 Ionic Vue 6.3.2 环境于 Chrome 中复现 ion-modal 的渲染问题,然后检查 transformZ 如何影响 modal 内容。当 modal 的文本和元素能够在浏览器中清晰渲染,且不会导致正常移动端显示出现回归时,即视为完成。

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

评估

技术栈
typescript
领域
frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
28/100

把新 issue 发到你的邮箱

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