-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: angular outer tabs receive tab button click events for nested tabs #23897
Comments
Thanks for the issue! This issue has been labeled as Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed. If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue. For a guide on how to create a good reproduction, see our Contributing Guide. |
Here is a Repo: https://github.com/EinfachHans/ionic-nested-tabs-bug Switching the outer tabs (bottom) not cause the error to be shown in console Switching the inner tabs (top under outer tab 1) cause the error in the console to be shown |
I get the following error when trying to run your app:
|
Damn sorry i forget to add these pages, updated pushed |
Thanks for the issue. Can you try the following dev build and let me know if it resolves the issue?
|
Yes, the Error disappears! 🎉 |
Thanks for the issue. This has been resolved via #23902, and a fix will be available in an upcoming release of Ionic Framework. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prequisites
Ionic Framework Version
Current Behavior
I have the following page setup:
The i use nested tabs. This works in general, but i get an error when i change on of the inner tabs:
I debugged a bit and found that the
select()
function of the IonTabs is called two times, one for each Tabs, i can see that on the outlet.Expected Behavior
The IonTabs should only executed the
select
method for Tabs belongs to this.Steps to Reproduce
See page structure above
Code Reproduction URL
No response
Ionic Info
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: