Skip to content

Mobile: Tag search input clear behavior is inconsistent #13243

@personalizedrefrigerator

Description

Operating system

Android

Joplin version

v3.4.7

Desktop version info

No response

Current behaviour

[...] But don't you think the behaviour should be more consistent within the mobile tag association screen? If adding an existing tag retains the search term, then so should adding a new tag as well (the code explicitly clears the search term in that scenario). And ideally pressing enter on a keyboard should retain the search term as well if that's possible

— Originally posted by @mrjo118 in #13192 (comment).

At present, the tag search combobox behaves differently in the following cases:

  • Adding a new tag with the keyboard or adding an existing tag with a keyboard/touchscreen.
  • Adding a new tag by tapping on the "add tag" button.

Note: The ARIA Authoring Practices Guide may have a pattern that fits this case or have a pattern that fits a similar case. If so, matching the keyboard shortcuts and mouse behavior documented there would make sense.

Expected behaviour

Adding a new tag with the "add tag" button should have similar behavior to activating the "add tag" action with the keyboard.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt's a bugmediumMedium priority issuesmobileAll mobile platforms

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions