Issue with TabbedPageRenderer Causing IconImageSource to Disappear on CurrentPageChanged Event
Thinh NPD
40
Reputation points
I am experiencing an issue with the custom implementation of TabbedPageRenderer
in .NET MAUI. When the CurrentPageChanged
event is invoked, the IconImageSource
for the tabs intermittently disappears. This behavior seems related to how the renderer handles updates to the tab layout and icons during page changes.
Here are the key details of the implementation:
- A custom renderer (
FTabbedRenderer
) is being used to customize tab properties, including badge views and icon updates. - The
OnElementChanged
method initializes the layout and adds custom badges to the tabs. - The
CurrentPageChanged
event updates theIconImageSource
for tabs dynamically based on the selected state. - When load
- When change page
Sign in to answer