Stefano Rodriguez

    Stefano Rodriguez

    1 year ago
    I’m noticing that if I apply a scale transformation on a container
    Box
    (with
    .drawLayer
    modifier) the input events are not properly transformed and looks like the button events are triggered by touch events on their original (not transformed) position. Is this something expected or a bug?
    actually it’s not even the original position, it’s just a wrong position 😄
    m

    Mihai Hrincescu

    1 year ago
    There is a bug report already for this issue, probably getting fixed in next release https://issuetracker.google.com/issues/171293708
    Stefano Rodriguez

    Stefano Rodriguez

    1 year ago
    update: looks like the behaviour, at least in my case, is wrong only when the child of the transformed box is an
    AndroidViewBinding
    composable
    I’ve tested it with a fully-composable layout and it appears to be working correctly