ionic-team / ionic-team/ionic-framework

bug: The phenomenon of the backdrop being delayed when closing.

Open
#30,631 1 comment 0 reactions 0 assignees View on GitHub
triage
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/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

While using Custom Height in a Sheet Modal, when dismissing it by clicking outside, the backdrop takes quite a long time to disappear. This issue only occurs on a real device. I am using an iPhone 14 Pro Max.

You can view the demo from the Documentation page on a mobile device:
https://ionicframework.com/docs/api/modal#custom-sheet-height

### Expected Behavior

The backdrop closes properly without delay.

### Steps to Reproduce

1. Go to https://ionicframework.com/docs/api/modal#custom-sheet-height on Mobile Device
2. Click button open Modal on Demo
3. Click outside Modal and see

### Code Reproduction URL

https://ionicframework.com/docs/api/modal#custom-sheet-height

### Ionic Info

Ionic:

Ionic CLI : 7.2.1 (/Users/devzeal/.nvm/versions/node/v22.2.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 8.7.2

Capacitor:

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

Utility:

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

System:

NodeJS : v22.2.0 (/Users/devzeal/.nvm/versions/node/v22.2.0/bin/node)
npm : 10.8.1
OS : macOS Unknown

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.