You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[iOS][Android][Wasm] The space between the text and the clear button is too wide #2430
kind/bugSomething isn't workingkind/regressionSomething was working, now it isn'tplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platform
@carlh98
It has not been tested yet, but the package Uno.UI v2.1.0-dev.1090 contains fixes related to this issue and it should be tested again on this version.
@carldebilly
There's a new regression for the sample TextBoxAlignmentIssueSample.zip with Uno.UI 2.1.0-dev.1097, the control is present in the View Hierarchy but not visible in the app
changed the title [-][iOS] The space between the text and the clear button is too wide[/-][+][iOS][Android][Wasm] The space between the text and the clear button is too wide[/+]on Feb 27, 2020
@carldebilly
With Uno.UI 2.1.0-dev.1371:
(Regression) In iOS, the TextBoxErrorControl does not appear on screen, you can click on the TextBoxErrorControl area where it's supposed to appear to show the tactile keyboard
(Same) In Android and Wasm it's the same as 2.1.0-dev.509
On UWP, the result control will get a MinWidth of 0... like if the DeleteButtonStyle were not having an implicit BaseOn on the default style, which is the case on Uno Platform. Actually, on Uno, the <Button> will have a MinWidth=128, causing the reported bug.
Why it's a regression
This wasn't happening before because MinWidth, MaxWidth, MinHeight & MaxHeight were not properly calculated in the past.
Workaround
Add a setter for MinWidth on DeleteButtonStyle to override the default one coming from DefaultButtonStyle.
kind/bugSomething isn't workingkind/regressionSomething was working, now it isn'tplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platform
Activity
carlh98 commentedon Jan 13, 2020
Framework work item:
https://dev.azure.com/nventive/Umbrella/_workitems/edit/169759
carldebilly commentedon Feb 4, 2020
@carlh98
It has not been tested yet, but the package Uno.UI v
2.1.0-dev.1090contains fixes related to this issue and it should be tested again on this version.carlh98 commentedon Feb 4, 2020
@carldebilly
There's a new regression for the sample TextBoxAlignmentIssueSample.zip with Uno.UI 2.1.0-dev.1097, the control is present in the View Hierarchy but not visible in the app
carldebilly commentedon Feb 27, 2020
PR #2679 has been merged, producing
Uno.UIv2.1.0-dev.1371which should be available soon on Nuget there: https://www.nuget.org/packages/Uno.UI/2.1.0-dev.1371. This issue could be fixed by those changes and need to be tested again with this version ofUno.UI.[-][iOS] The space between the text and the clear button is too wide[/-][+][iOS][Android][Wasm] The space between the text and the clear button is too wide[/+]carlh98 commentedon Feb 27, 2020
@carldebilly
With Uno.UI 2.1.0-dev.1371:
(Regression) In iOS, the TextBoxErrorControl does not appear on screen, you can click on the TextBoxErrorControl area where it's supposed to appear to show the tactile keyboard
(Same) In Android and Wasm it's the same as 2.1.0-dev.509
carldebilly commentedon Mar 4, 2020
Investigations
I found the cause of the problem: it's a resource issue.
==> May be fixed by PR #1766. @davidjohnoliver ?
Explanation
<Button>defined this way:DeleteButtonStyleis defined like that...On UWP, the result control will get a
MinWidthof0... like if theDeleteButtonStylewere not having an implicitBaseOnon the default style, which is the case on Uno Platform. Actually, on Uno, the<Button>will have aMinWidth=128, causing the reported bug.Why it's a regression
This wasn't happening before because
MinWidth,MaxWidth,MinHeight&MaxHeightwere not properly calculated in the past.Workaround
Add a setter for
MinWidthonDeleteButtonStyleto override the default one coming fromDefaultButtonStyle.