Skip to content

Conversation

marcelwgn
Copy link
Collaborator

Description

When itemssource was changed, the itemsrepeater was not provided the new itemssource.

Motivation and Context

Closes #5986

How Has This Been Tested?

Added new API test

Screenshots (if appropriate):

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Nov 15, 2021
Comment on lines +151 to +155
if (const auto& itemsRepeater = m_itemsRepeater.get())
{
m_itemsIterable = winrt::make_self<BreadcrumbIterable>(ItemsSource());
itemsRepeater.ItemsSource(*m_itemsIterable);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied this over from the OnBreadcrumbBarItemsSourceCollectionChanged handler, why is the collection items changed handler even setting the ItemSource? Was this intentional or just an oversight?

@beervoley beervoley added area-Breadcrumb team-Controls Issue for the Controls team labels Nov 20, 2021
@beervoley
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@StephenLPeters StephenLPeters removed the needs-triage Issue needs to be triaged by the area owners label Feb 10, 2022
@StephenLPeters StephenLPeters merged commit 9aedb00 into microsoft:main Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Breadcrumb team-Controls Issue for the Controls team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BreadcrumbBar : OneWay binding does not work at all

3 participants