Description
When using .textual.textSelection(.enabled), Textual provides native text selection with copy/share actions. However, it does not appear to expose a way to include the system “Look Up” action (the iOS dictionary/definition feature) in the selection menu.
Checklist
Expected behavior
- The selection menu should include “Look Up” when appropriate
- Or, Textual should provide an API to:
- opt into system-provided actions like Look Up
- or inject custom menu actions into the selection menu
Actual behavior
- Text selection works correctly with
.textual.textSelection(.enabled)
- Copy / share actions are available
- No visible way to access or enable the “Look Up” action
Steps to reproduce
- Select text
- Menu only contains Copy and Share
Textual version information
0.3.1
Destination operating system
iOS 18+
Xcode version information
26.2
Swift Compiler version information
Description
When using
.textual.textSelection(.enabled), Textual provides native text selection with copy/share actions. However, it does not appear to expose a way to include the system “Look Up” action (the iOS dictionary/definition feature) in the selection menu.Checklist
mainbranch of this package.Expected behavior
Actual behavior
.textual.textSelection(.enabled)Steps to reproduce
Textual version information
0.3.1
Destination operating system
iOS 18+
Xcode version information
26.2
Swift Compiler version information