Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated IntrinsicContentSize for ImageView #5195

Closed
wants to merge 4 commits into from

Conversation

jwoo-msft
Copy link
Member

@jwoo-msft jwoo-msft commented Dec 17, 2020

Related Issue

Fixed #5096

Description

IntrinsicContentSize for auto doesn't get the right size until an image is loaded. When the image is loaded, the size is invalidated, and the size should be updated, but with the optimization setting mentioned in the issue. This wasn't working when the actual image is smaller than the initially given size. so updated the initialize image size to zero to force the intrinsic content size update.

Sample Card

Used the payload included in #5096. Doesn't need to update our samples, as the card is similar to our Agenda card in samples/v1.2/Scenario

How Verified

How you verified the fix, including one or all of the following:

  1. did quick regression tests with v1.0 elements and scenario cards and v1.2 scenario cards
    IMG_2384344452E2-1

IMG_3ECC02EDD240-1

Microsoft Reviewers: Open in CodeFlow

@ghost ghost added the no-recent-activity label Dec 22, 2020
@ghost ghost assigned RebeccaAnne Dec 22, 2020
@ghost
Copy link

ghost commented Dec 22, 2020

Hi @jwoo-msft. This non-spec pull request has had no recent activity for the past 5 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along.

@jwoo-msft jwoo-msft closed this Jan 20, 2021
@ghost ghost removed the no-recent-activity label Jan 20, 2021
@ghost
Copy link

ghost commented Jan 20, 2021

Hi @jwoo-msft; Thanks for taking action on your previously stale pull request. Resetting staleness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS][Image Rendering] Few images breaks when framework is built with Optimizations
3 participants