Skip to content

Cleanup SwipeView and Propagate BC until we can fix compat layout - #17418

Merged
PureWeen merged 5 commits into
mainfrom
swipeview_logical_smawl
Sep 21, 2023
Merged

PureWeen merged 5 commits into
mainfrom
swipeview_logical_smawl

Conversation

@PureWeen

Copy link
Copy Markdown
Member

Description of Change

Alternative PR for #17410 to avoid more changes inside the base layout class.

Code inside SwipeView kept recreating new SwipeItems lists which would cause the SwipeItems to re-assign to new SwipItems lists instead of the ones that were part of the original xaml. I don't really know why that code was added. It was added in this #6053 but I tested the issue that PR was for and it works fine with these code changes. The result of that code is that every property change was triggering a new SwipeItems to get instantiated.

Issues Fixed

Fixes #17371

@PureWeen
PureWeen requested a review from a team as a code owner September 15, 2023 22:04
@samhouts samhouts added this to the .NET 8 GA milestone Sep 18, 2023
@PureWeen

Copy link
Copy Markdown
Member Author

/rebase

@github-actions
github-actions Bot force-pushed the swipeview_logical_smawl branch from 5a0334f to a30baff Compare September 18, 2023 23:46
@PureWeen
PureWeen requested a review from samhouts September 20, 2023 01:53
@jsuarezruiz jsuarezruiz added area-xaml XAML, CSS, Triggers, Behaviors area-controls-swipeview SwipeView labels Sep 20, 2023
@PureWeen
PureWeen merged commit c0f9d45 into main Sep 21, 2023
@PureWeen
PureWeen deleted the swipeview_logical_smawl branch September 21, 2023 16:10
@MauiUIui

MauiUIui commented Oct 8, 2023

Copy link
Copy Markdown

Alternative PR for #17410 to avoid more changes inside the base layout class.

Does the nightly build "8.0.0-nightly.9370+sha.d02f597f04-azdo.8493478" include this fix? If so it didn't work. The execute method is not always firing. Sometimes it requires a change (add) in the list for it to fire. Is the RC2 going to be like this?

@github-actions github-actions Bot locked and limited conversation to collaborators Dec 5, 2023
@samhouts samhouts added the fixed-in-8.0.0-rc.2.9373 Look for this fix in 8.0.0-rc.2.9373! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-swipeview SwipeView area-xaml XAML, CSS, Triggers, Behaviors fixed-in-8.0.0-rc.2.9373 Look for this fix in 8.0.0-rc.2.9373!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[regression/8.0.0-rc.1.9171] SwipeView Execute mode does not work when using Binding Command

4 participants