You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform (please complete the following information):
OS: [Android]
Device: Tab Active 3 [Android API Level 31]
Sdk Version: Min: 30 Target: 34
MAUI: [NET 8.0][8.0.91]
I have added light/dark AppThemeBinding to my app's style.xaml sheet to handle when the system switches between modes. With the tabhostview, I'm noticing that when the theme switches, the tabs become unresponsive.
Would you have any insights on why this might occur? Not at this time
Maybe similar to these 2 issues but not sure. (#120) (#84)
To Reproduce
Steps to reproduce the behavior:
Create an app with the Tabs control
In the Resources/Styles/Styles.xaml, add styling for the various tab components with AppThemeBindings for light and dark modes
Run the app. while you are on the page with the tabs, tap around to make sure it is working.
Then, from the notification tray, change the theme from light to dark or vice versa.
Dismiss the notification tray after the theme has switched so you are back in the app.
At this point, the tabs are disabled/unresponsive
One other observation, if i have a main page and navigate to a detail page (with the tab control), then switch the dark/light mode, come back to the app, the tabs are disabled. i can navigate back to the main page and then go back to the detail page and it is working again.
Styles used in my Style.xaml file: (of course change the color StaticResources to match your colors)
I have added light/dark AppThemeBinding to my app's style.xaml sheet to handle when the system switches between modes. With the tabhostview, I'm noticing that when the theme switches, the tabs become unresponsive.
I can confirm this ...
Maybe similar to these 2 issues but not sure. (#120) (#84)
... and yes, I think all of them are due to the same root cause.
The original issue is fixed. Now i notice the text colors for selected and unselected tabs aren't switching when the dark/light mode changes. The background color changes and the segmentedoutlinecolor changes. Something isn't working right with the text colors though when switching dark/light mode.
Platform (please complete the following information):
OS: [Android]
Device: Tab Active 3 [Android API Level 31]
Sdk Version: Min: 30 Target: 34
MAUI: [NET 8.0][8.0.91]
I have added light/dark AppThemeBinding to my app's style.xaml sheet to handle when the system switches between modes. With the tabhostview, I'm noticing that when the theme switches, the tabs become unresponsive.
Would you have any insights on why this might occur? Not at this time
Maybe similar to these 2 issues but not sure. (#120) (#84)
To Reproduce
Steps to reproduce the behavior:
One other observation, if i have a main page and navigate to a detail page (with the tab control), then switch the dark/light mode, come back to the app, the tabs are disabled. i can navigate back to the main page and then go back to the detail page and it is working again.
Styles used in my Style.xaml file: (of course change the color StaticResources to match your colors)
Expected Behavior: Tabs can be clicked and views load as expected.
The text was updated successfully, but these errors were encountered: