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 }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
The CoerceValue() method introduced by #8097 doesn't seem to do anything anymore (don't know if it ever did).
I assume this has to do with the fact that the method just calls the handler without actually doing anything with the return value as you can see here:
Description
The CoerceValue() method introduced by #8097 doesn't seem to do anything anymore (don't know if it ever did).
I assume this has to do with the fact that the method just calls the handler without actually doing anything with the return value as you can see here:
Xamarin.Forms/Xamarin.Forms.Core/BindableObject.cs
Line 610 in 25035af
Whereas the SetValueCore() method does use it when you set a new value:
Xamarin.Forms/Xamarin.Forms.Core/BindableObject.cs
Line 418 in 25035af
Steps to Reproduce
Expected Behavior
The rotation angle should be coerced to be the same value as the maximum angle.
Actual Behavior
Nothing happens and the rotation angle stays higher than the maximum angle.
Basic Information
Environment
Show/Hide Visual Studio info
Build Logs
Screenshots
Reproduction Link
Workaround
The only workaround I found is manually set the value as such:
The text was updated successfully, but these errors were encountered: