Jellycuts / Jellycuts-Issues

A public issue tracker for the Jellycuts iOS app.
23 stars 0 forks source link

Suggestions in the toolbar add the entire suggestion after what I've already typed #44

Closed colin273 closed 3 years ago

colin273 commented 3 years ago

Describe the bug

When tapping on suggestions in the editor, the entire tapped item is appended to what I've already typed, rather than just what needs to be inserted.

To Reproduce

Steps to reproduce the behavior:

  1. Open a Jellycut in the editor.
  2. Start typing an action name. Example: "qu"
  3. Press on a suggestion in the toolbar.
  4. Observe that the result is not "quickLook" but "ququickLook."

Expected behavior

Only what I haven't typed of the selected suggestion should be appended to what I've written.

Screenshots

None

Information

Additional context

The Reddit app had this problem with one of its releases a while back, but with iOS's own autocomplete suggestions instead of a custom one. It made autocomplete completely unusable and annoying until it was fixed.