-
Notifications
You must be signed in to change notification settings - Fork 82
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
Tab on screen keyboard #98
Comments
@writing-shed, you have raised a good point. It looks like API can be improved a little, and I'll find time to expose better construct to be able to do that. Having said that, given the current API design, you can use ListTextProcessor().handleKeyWithModifiers(editor: editor, key: .tab, modifierFlags: [], range: editor.selectedRange) For more such examples, checkout EditorListsSnapshotTests.swift. |
Thanks for this, I'll give it a whirl. |
I tried doing this using a menu added to the shared UIMenuController, only to discover that there is bug in SwiftUI! It doesn't display the menu, so I've had to submit a bug report. |
@writing-shed, shall we close this issue? It might just be helpful to others to mention the bug you've logged in SwiftUI. |
The feedback reference is |
Given that there is no tab key on the screen kbd have you any idea how to simulate one given that List Processing depends on it. I can set up an item using UIMenuController, but can't work out how to invoke
handleKeyCommand
.The text was updated successfully, but these errors were encountered: