ionic-team / ionic-team/ionic-framework
bug: Swipe back gesture breaks with Ionic React Router on certain parameterized route changes
- 主要言語
- TypeScript
- スター
- 52.7k
- フォーク
- 13.3k
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 51
説明
### 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
v7.x
### Current Behavior
With Ionic React Router, swipe back gesture breaks when navigating in certain use cases between parameterized routes.
### Expected Behavior
Swipe back gesture works.
### Steps to Reproduce
## Reproduction A
### Assumed Ionic React Router app routes
Assume app with two routes in the router:
- `/foo/:user`
- `/baz`
### Repro
1. Navigate `/foo/alex`
2. Navigate `/baz`
3. Navigate `/foo/sean`
4. Swipe back once (successful)
5. Try to swipe back again, observe it is not possible (you need to hit the back button of the browser or in the header)
https://github.com/aeharding/ionic-27900-a
## Reproduction B
### Assumed Ionic React Router app routes
- `/:name`
- `/:name/details`
### Repro
1. Go to `/one`
2. Replace route with `/two`
3. Go to `/two/details`
4. Observe swipe back is broken
https://github.com/aeharding/ionic-27900-b
### Code Reproduction URL
_No response_
### Ionic Info
N/A
### Additional Information
This issue has been created from #26524 (see comments https://github.com/ionic-team/ionic-framework/issues/26524#issuecomment-1629445149 and https://github.com/ionic-team/ionic-framework/issues/26524#issuecomment-1658459383)
コントリビューションガイド
評価
この issue はまだ評価されていません。