-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening TextContextMenu causes containing Column to change height #2729
Opening TextContextMenu causes containing Column to change height #2729
Comments
Just confirmed the same bug exists with Compose Multiplatform version 1.3.0. |
The problem here is that the context menu uses a Here's a simpler reproducer:
|
To fix this, we should get rid of the empty |
By the way, the same problem (with Popup) exists on Android, and for the same reason. |
In the case where a As for |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Describe the bug
Opening the
TextContextMenu
on aText
contained in aColumn
withverticalArrangement = Arrangement.spacedBy(8.dp)
adds a space to theColumn
, increasing its height.Affected platforms
Select one of the platforms below:
If the bug is Android-only, report it in the Jetpack Compose trackerVersions
To Reproduce
Expected behavior
The height of the column should not change when the context menu is shown.
The text was updated successfully, but these errors were encountered: