ionic-team / ionic-team/ionic-framework

bug: swiping a menu under a partially open sheet modal does not work

未关闭
#23,979 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: bug v6
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

### Prequisites

- [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

### Current Behavior

For some reason, I can't use ion-menu and ion-modal together. When I click on the icon to open the menu, the ion-modal disappears. In addition to the ion-modal disappearing, from that moment on the menu behavior is strange, it no longer closes by dragging with the touch, it only closes by clicking on the outside.

### Expected Behavior

That ion-modal doesn't disappear when I use ion-menu and that ion-menu works correctly (drag-to-close effect).

### Steps to Reproduce

https://drive.google.com/file/d/17j1MMEjsOP4RPoQMtlOzoyVzf576a6Zq/view

### Code Reproduction URL

https://github.com/guilhermeagirardi/ionic-issue-code-reproduction

### Ionic Info

$ ionic info
[WARN] You are not in an Ionic project directory. Project context may be missing.

Ionic:

Ionic CLI : 6.17.1

Utility:

cordova-res : 0.15.3
native-run : 1.3.0

System:

NodeJS : v14.17.6
npm : 7.16.0
OS : Windows 10

### Additional Information

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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