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
ViewBox is altering the RenderTransform of its child #2135
kind/bugSomething isn't workingplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platformplatform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platformtriage/untriagedIndicates an issue requires triaging or verification
When a UI element in a ViewBox is applied a rotation transform, the transform is overwritten by the ViewBox When a UI element is applied a rotation transform, for example over a border, the transform moves it across the X and Y , but doesn't rotate it
Expected behavior
It should rotate the control as shown in the image:
How to reproduce it (as minimally and precisely as possible)
When I was investigating the pointers issue with the ViewBox, I notice that our current implementation is modifying the RenderTransform of it child, which is probably not valid!
kind/bugSomething isn't workingplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platformplatform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platformtriage/untriagedIndicates an issue requires triaging or verification
Activity
dr1rrb commentedon Nov 21, 2019
When I was investigating the pointers issue with the
ViewBox, I notice that our current implementation is modifying theRenderTransformof it child, which is probably not valid!In your sample, if you add an extra border between the
ViewBoxand theBorderwith the rotate transform, the rotation applies:Note: I also had to set the
RenderTransformOrigin=".5,.5", but it was like UWP.I update the bug details accordingly.
[-]RenderTransform Rotation doesn't rotate in WASM[/-][+]ViewBox is altering the RenderTransform of its child[/+]paulovila commentedon Nov 21, 2019
Also notice that when you rotate a button the clicking area does not rotate
So if you click in the corners of the button it doesn't work
dr1rrb commentedon Dec 4, 2019
Fixed ... commit coming soon