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: ionic vue tab change events not firing #22466
Comments
Thanks for the issue. You are doing things correctly in Ionic Vue, there is just a bug where the event is not firing. I will work on a fix for this. |
Hello @liamdebeasi, There is still a questin that how can I use the method 'getSelected' in vue. Should I use the property 'ref' to get it? Thx a lot. |
I don't think IonTabs has that method exposed. I can address in a separate PR. Once that is in, yes you would use a Here is a dev build if you want to test the fix for the change events:
|
Thx a lot. The event is firing now. And I'm sure there is method exposed, and I just kenew it can be accessed by 'ViewChild' in Angular. BUt I have no idea about it in Vue. |
Thanks for the issue. This has been resolved via #22479, 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. |
Bug Report
Ionic version:
[ ] 4.x
[x] 5.x
Current behavior:
Expected behavior:
Steps to reproduce:
Related code:
I wanna get the selected tab when the tabs changed, so i used the event 'ionTabsDidChange' to listen the value of tab, but it doesn't work. And I hope get the value by 'getSelected' like the method what i coded on Angular.
So anyone can help me to solve it. I'm just new in Ionic-vue. And the documentation of vue doesn't make it clear.
Other information:
Ionic info:
The text was updated successfully, but these errors were encountered: