ionic-team / ionic-team/ionic-framework

bug: menu can be swiped to open when not on root page

Abierto
#25,272 2 comentarios 1 reacción 0 asignados Ver en GitHub
package: core type: bug
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

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

If you've pushed a few pages onto the stack, swiping from the left edge of the screen should pop pages off the stack. Only when you're at a nav root should swiping from the left expose the side menu.

But if you swipe from the left edge before a push or pop navigation animation has settled, you can drag out the side menu when you're not at the root of the nav stack.

### Expected Behavior

Pushed pages should prevent the side menu swipeGesture from working until you're at the root.

### Steps to Reproduce

This video explains it.

https://youtu.be/qTidttFLsZQ

### Code Reproduction URL

https://github.com/WhatsThatItsPat/sidemenu-available-in-subpage

### Ionic Info

Ionic:

Ionic CLI : 6.19.1
Ionic Framework : not installed
@angular-devkit/build-angular : not installed
@angular-devkit/schematics : not installed
@angular/cli : not installed
@ionic/angular-toolkit : not installed

Capacitor:

Capacitor CLI : not installed
@capacitor/android : not installed
@capacitor/core : not installed
@capacitor/ios : not installed

Utility:

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

System:

NodeJS : v16.13.2
npm : 8.1.2
OS : macOS Big Sur

### Additional Information

_No response_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.