KeyboardToolbar icon indicating copy to clipboard operation
KeyboardToolbar copied to clipboard

Improvement: allow "horizontal swipe" to switch action

Open Dean151 opened this issue 3 years ago • 1 comments

Hey, super nice project!

Started using it, and I have an improvement request that could make the toolbar feel a bit more native: When you let the finger down on the keyboard, you can select keys. If you try the same thing on KeyboardToolbar, only the first one pressed stay active ; and will trigger the action.

Here a video that kinda show the behavior I just described

https://user-images.githubusercontent.com/8696821/176039765-317ba7a8-a4d9-4c58-8fc7-a532324f252d.mov

Recommendations:

  • Make buttons "touchUpInside" ; allowing users to cancel when they swipe away
  • Allow switching buttons when we enter the context of another one.

I know that along with the "submenu" it might not be an easy behavior to implement, but you know, that's the kind of attention to detail my ADHD personality stop on when it sees it !

Dean151 avatar Jun 27 '22 21:06 Dean151

Nice catch! I didn't catch this difference in the behavior. I think KeyboardToolbar should support this interaction.

simonbs avatar Jun 30 '22 08:06 simonbs