Skip to content

Comments

Support custom context menu items#2324

Merged
ASalavei merged 8 commits intojb-mainfrom
andrei.salavei/support-custom-menu-items
Aug 22, 2025
Merged

Support custom context menu items#2324
ASalavei merged 8 commits intojb-mainfrom
andrei.salavei/support-custom-menu-items

Conversation

@ASalavei
Copy link

Use UIMenuItem (for iOS < 16) and UIAction (for iOS >= 16) to show custom context menu items.
Use TextContextMenuItemWithComposableLeadingIcon the skiko sources set as a menu item data model.
Fix issues on iOS < 16 that does not allow to show context menu with custom items simultaneously with text editing.

Fixes https://youtrack.jetbrains.com/issue/CMP-8496/iOS-Adopt-custom-items-in-with-new-context-menu-API

Release Notes

Features - iOS

  • Support custom menu items for text context menu.

@ASalavei ASalavei requested a review from svastven August 21, 2025 08:19
@ASalavei ASalavei requested a review from m-sasha August 21, 2025 13:29
@ASalavei ASalavei marked this pull request as draft August 21, 2025 16:02
@ASalavei ASalavei marked this pull request as ready for review August 22, 2025 09:21
@ASalavei ASalavei merged commit 9f90c99 into jb-main Aug 22, 2025
9 of 10 checks passed
@ASalavei ASalavei deleted the andrei.salavei/support-custom-menu-items branch August 22, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants