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

Expect androidx.compose.material3.DropdownMenu in common #737

Merged
merged 11 commits into from Aug 10, 2023

Conversation

MatkovIvan
Copy link
Member

Proposed Changes

  • Expect DropdownMenu and DropdownMenuItem in common
  • Deprecate old overload in skiko
  • Add temporary overload without focusable and properties to avoid "Overload resolution ambiguity" error
  • Move fixes from SkikoDropdownMenuPositionProvider to common (requires upstreaming)

Testing

Test: try to use DropdownMenu and DropdownMenuItem

TODO: add to mpp demo

Issues Fixed

Fixes (partially) JetBrains/compose-multiplatform#2037

@MatkovIvan MatkovIvan force-pushed the ivan.matkov/common-dropdownmenu3 branch from 53e7d14 to a73a8bf Compare August 10, 2023 12:37
@MatkovIvan MatkovIvan marked this pull request as ready for review August 10, 2023 12:39
@MatkovIvan MatkovIvan merged commit 90b91f2 into jb-main Aug 10, 2023
3 checks passed
@MatkovIvan MatkovIvan deleted the ivan.matkov/common-dropdownmenu3 branch August 10, 2023 15:18
igordmn pushed a commit that referenced this pull request Nov 15, 2023
…nMenu` in common (#737)

* Expect DropdownMenu in common

* Fix compatibility, use overload with properties

* Apply fixes from SkikoDropdownMenuPositionProvider

* Fix null safety

* Missing actual fun DropdownMenuItem

* Workaround for "Overload resolution ambiguity"

* Fix test

* Copy Rtl fix from material

* Revert DropdownMenuPositionProvider fixes

* Update Rtl test

* Fix DesktopMenuTest tests
igordmn pushed a commit that referenced this pull request Jan 30, 2024
* Expect DropdownMenu in common

* Fix compatibility, use overload with properties

* Apply fixes from SkikoDropdownMenuPositionProvider

* Fix null safety

* Missing actual fun DropdownMenuItem

* Workaround for "Overload resolution ambiguity"

* Fix test

* Copy Rtl fix from material

* Revert DropdownMenuPositionProvider fixes

* Update Rtl test

* Fix DesktopMenuTest tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants