Skip to content

[CP] Constrain _RenderScaledInlineWidget child size in computeDryLayout #132095

@LongCatIsLooong

Description

@LongCatIsLooong

Issue Link

#130588

Commit Hash

55044a6

Target

beta

PR Link

#132096

Changelog Description

Address the issue that the previous CP didn't fully resolve: #131289

Impacted Users

WidgetSpan users

Impact Description

Apps that use WidgetSpans in text widgets may throw an assertion when the text scale factor is set to certain values, due to floating point precision.

Workaround

not available

Risk

low

Test Coverage

yes

Validation Steps

Follow the repro steps in #130588

Metadata

Metadata

Assignees

Labels

cp: approvedApproved cherry-pick requestcp: merge-to-betaCherry-picks that should be merged to betacp: reviewCherry-picks in the review queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions