Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Remove unnecessary UpdateConstraints calls when rotating #12728

Merged
merged 5 commits into from
Nov 11, 2020
Merged

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Nov 3, 2020

Description of Change

Removes unnecessary constraints update calls during InvalidateLayout which were causing auto-layout errors for CarouselView (and making HTML Labels occasionally disappear).

Also removes some unecessary overrides from CarouselView Layout/Controller (deferring to ItemsView Layout/Controller).

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Automated test

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@hartez hartez added this to To do in vNext+1 (5.0.0) via automation Nov 3, 2020
@hartez hartez moved this from To do to In Review in vNext+1 (5.0.0) Nov 3, 2020
@hartez hartez added a/carouselview blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. in-progress This issue has an associated pull request that may resolve it! labels Nov 3, 2020
@rmarinho rmarinho self-requested a review November 5, 2020 00:34
@PureWeen PureWeen added this to the 5.0.0 milestone Nov 5, 2020
Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

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

Seems a iOS test is failing CarouselViewPositionFromVisibilityChangeTest_apple_iphone_x_11_4_1

@rmarinho
Copy link
Member

rmarinho commented Nov 8, 2020

failing tests ios12/ios11 -- not sure why on CI reports 51 and here just 18 and 1 :/

@hartez hartez merged commit b551dd9 into 5.0.0 Nov 11, 2020
vNext+1 (5.0.0) automation moved this from In Review to Done Nov 11, 2020
@hartez hartez deleted the fix-12193 branch November 11, 2020 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/carouselview a/collectionview blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[Bug] CarouselView content disappears after 2 rotations if TextType=Html is used
5 participants