Skip to content

Commit

Permalink
chore: Explainer for Uno specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Jan 19, 2021
1 parent 8f17d43 commit ef8e6bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests
{
public partial class TabViewTests
{
#if HAS_UNO
#if HAS_UNO && !__IOS__
[TestMethod]
public void VerifyItemsAreCreatedOnlyOnce()
{
Expand Down
3 changes: 3 additions & 0 deletions src/Uno.UI/Microsoft/UI/Xaml/Controls/TabView/TabView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,9 @@ void UpdateSelectedItem()
if (listView != null)
{
listView.SelectedItem = SelectedItem;

// TODO: Uno specific - this is currently commented out,
// possibly a WinUI bug - https://github.com/microsoft/microsoft-ui-xaml/issues/3969
//var tvi = SelectedItem as TabViewItem;
//if (tvi == null)
//{
Expand Down

0 comments on commit ef8e6bc

Please sign in to comment.