Hi while building a compose app, I noticed a particular behaviour on MIUI 12, they have mode for running apps in freeform mode, called floating window.
In that mode while the UI looks pixel perfect the touch interactions are offset a bit upwards, example touching the bottom navigation bar of an app would send the touch input to the page above instead.
The compose app behaves as expected in multiwindow mode.