Being able to press a link in large multi-line rich text inputs, such as notes apps, is a great UX. The use case for this is secondary when writing, but when a note (or any rich text) is read, pressing links directly makes a big difference. Apple's Notes app, and just about every other native note app or apps with large rich text note-like inputs supports this.
One alternative is to show option to open the link's URL when part of the link is selected. This is comparatively bad UX, always opens the keyboard, and requires 2 presses.
Using EnrichedMarkdownText component works, but this forces the app to have 2 modes, one for viewing and one for editing, which the user has to control - not ideal UX, and not something that's common for example in notes apps. It adds unnecessary UI and taps.
Different existing rich text editor implementations deal with link taps differently - Notes app always accepts link press, Craft only when the input is not focused. Both of these solutions work well, and would make the apps using Enriched much nicer to use :-) thanks for the great work you do on the library!
Being able to press a link in large multi-line rich text inputs, such as notes apps, is a great UX. The use case for this is secondary when writing, but when a note (or any rich text) is read, pressing links directly makes a big difference. Apple's Notes app, and just about every other native note app or apps with large rich text note-like inputs supports this.
One alternative is to show option to open the link's URL when part of the link is selected. This is comparatively bad UX, always opens the keyboard, and requires 2 presses.
Using
EnrichedMarkdownTextcomponent works, but this forces the app to have 2 modes, one for viewing and one for editing, which the user has to control - not ideal UX, and not something that's common for example in notes apps. It adds unnecessary UI and taps.Different existing rich text editor implementations deal with link taps differently - Notes app always accepts link press, Craft only when the input is not focused. Both of these solutions work well, and would make the apps using Enriched much nicer to use :-) thanks for the great work you do on the library!