ionic-team / ionic-team/ionic-framework

bug: Inline overlay breaks when setting root on ion-nav

Open
#25,170 4 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 you load components with setRoot on ion-nav the trigger to open a popover breaks. I also tried using isOpen instead of id trigger and same result.

### Expected Behavior

Reloading a view / component with ion-nav setRoot method should still allow an inline popover to be triggered.

### Steps to Reproduce

See this repo for example: https://github.com/modemlooper/popover-test

### Code Reproduction URL

See this repo for example: https://github.com/modemlooper/popover-test

### Ionic Info

N/A this is a stencil web app

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