ionic-team / ionic-team/ionic-framework

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

Open
#26,159 6 comments 0 reactions 0 assignees View on GitHub
package: core type: bug
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

### 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_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ion-modal rendering issue in Chrome on Windows 10 using the reported Ionic Vue 6.3.2 environment, then inspect how transformZ affects the modal content. Done means modal text and elements render sharply in the browser without regressing the normal mobile display.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.