Repository navigation
Fixed clipping regression on Android - #2049
Merged
Merged
Conversation
Member
Author
|
/azp run |
| if (hasChildHeight) | ||
| { | ||
| actualHeight = Min(childHeight + childMargin.Top + childMargin.Bottom, height); | ||
| actualHeight = Min(childHeight + childMargins, size); |
Contributor
There was a problem hiding this comment.
All references to Height should be replaced with Size
Member
Author
There was a problem hiding this comment.
Yep you're right! It's already merged, so a new PR is required for that...
2 of 4 tasks
ramezgerges
pushed a commit
to ramezgerges/uno
that referenced
this pull request
Jul 8, 2026
The flag defaulted to false on all targets and was never assigned by the framework (SamplesApp set it to false explicitly), so the Skia-based TextBox (_isSkiaTextBox) was always used. Delete the flag, then inline _isSkiaTextBox as the constant true it had become: fold every guard, unwrap the always-taken branches, and delete the unreachable !_isSkiaTextBox branches in TextBox(.skia/.pointers.skia).cs and TextBoxView.skia.cs. In the shared TextBox.cs the #if __SKIA__ guards turn into inverted #if !__SKIA__ guards where the folded branch runs only on native, so native (WASM/Android/UIKit) behaviour is unchanged; OnKeyDownNonSkia, now unreachable on Skia, moves under #if !__SKIA__. The IOverlayTextBoxViewExtension layer is intentionally kept: it is still required for the invisible native text view (IME) on WASM-Skia and UIKit-Skia, gated by _useInvisibleNativeTextView independently of the removed flag. Tearing that extension layer down is native-overlay work that belongs with epic unoplatform#2049's native drop. Tests: removed the flag save/restore no-ops; deleted the overlay-only When_FeatureConfiguration_Changes test; dropped the overlay case from the parameterized AutoSuggestBox test; simplified the Skia selection-start assertions to the skia-textbox value. Source-breaking for consumers reading/assigning the flag; no runtime behaviour change. Package-diff entries added for the removed public API. Part of unoplatform#2053 (remove legacy feature flags, 7.0 breaking changes). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bugfix
A bug was remaining in previous PR #1726 where clipping on Android were not applied properly.