Open iamthomasbishop opened 5 years ago
If we decide to go ahead and implement this functionality there's a library that does this really well that we could use as inspiration to provide support for this on iOS and presumably Android as well.
@jd-alexander That would be great! I don't think it's is a high priority, but when we get a chance to work on it, I think it'd be worth starting with these two interactions:
•••
) menu when the user long-presses on a block(*)(*) Note: This probably deserves its own separate ticket, but here's an overview: For selected blocks, we might want to limit the long-press target to the inline toolbar (shown only when a block is selected) because a long-press gesture on some components inside the block — i.e. RichText inputs — would inherit the system behavior (for RichText, long-press would either select some text or position the cursor). In the case of unselected blocks, we could show the sheet upon long-press regardless of what is inside the block.
Haptics are an often overlooked tool in the WP apps, and I think a number of interactions would benefit from some thoughtful use of feedback. Some ideas:
Note: I am unsure if this is something that we’d use a library for or if we are able to map directly to the native haptics, so that will require some exploration.