This is my first question, so I hope I didn't miss anything :)
In my project I encounter this issue: when I try to use an Android clipboard it appears with really big padding. I know that in API 33 Android added a new clipboard, so I also tried it on API level 30 - still this problem.
My first guess - I messed up with popup windows (I use them in my project). So I deleted all usages of the popup window in my code, cleaned the build, deleted the app and restarted the phone - still the same. I tried to change some versions of libraries - still the same. Then I tried to create a new project with a popup window just like in my project - and everything is okay. I don't know what code I can add here because I don't understand that can be related, but here is a link to github rep
UPD. I found a solution. In my case my teammate added this line:
<item name="android:background">@color/background</item>
instead of
<item name="android:windowBackground">@color/background</item>
In other words, be careful when you are using themes :)