Skip to content
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

Moving the app to another monitor breaks dropdowns #4697

Closed
Syer10 opened this issue Apr 24, 2024 · 2 comments · Fixed by JetBrains/compose-multiplatform-core#1333
Closed
Assignees
Labels
bug Something isn't working desktop macos

Comments

@Syer10
Copy link
Contributor

Syer10 commented Apr 24, 2024

Describe the bug
After moving the app to another monitor, dropdown menu positioning allows overflow outside the window

Affected platforms

  • Desktop (macOS)

Versions

  • Kotlin version*: 1.9.23
  • Compose Multiplatform version*: 1.6.2
  • OS version(s)* (required for Desktop and iOS issues): MacOS 14
  • OS architecture (x86 or arm64): Arm64
  • Device (model or simulator for iOS issues): Mac Pro M1
  • JDK (for desktop issues): Temurin 17

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

  1. Download https://github.com/Syer10/compose-window-issue
  2. Open the app
  3. Move the app to another monitor
  4. Click the button to open the dropdown
  5. See wrong position

Expected behavior
Dropdown is moved to show the whole dropdown instead of only the first part

Screenshots
image

Additional context
Only happens on MacOS

@Syer10 Syer10 added bug Something isn't working submitted labels Apr 24, 2024
@m-sasha
Copy link
Contributor

m-sasha commented Apr 30, 2024

Unfortunately I don't have a 2nd monitor to test this.
I used my iPad as another monitor, but the issue didn't reproduce there.

SCR-20240430-nzgt

@m-sasha
Copy link
Contributor

m-sasha commented Apr 30, 2024

Ok, managed to reproduce with a virtual monitor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop macos
Projects
None yet
3 participants