[Bug] Autocomplete at end of list item breaks automatic insertion of next list item

Platform

[X] iOS
[ ] Android

Obsidian Mobile version: v1.0.4


Normally, hitting enter at the end of a list item will insert a newline followed by the markup for a new list item and place your cursor after it.

However, if the system autocompletion attempts to trigger on the final word of the list item, when you press enter it will instead add a new list item on the next line then another newline, with your cursor winding up on the final non-list-item line. It also won’t make the autocompletion substitution, which I would normally expect pressing enter to do.

I assume this is the autocomplete and the markdown-editor stepping on each other’s toes somehow.

I can make a video if this was unclear…

1 Like

Steps to reproduce

  • start a new un-ordered list ( or task list )
  • type in an item
  • click enter to proceed to the next line

Expected result

I expect to see a new entry in the list with the cursor placed after the list entry symbol

Actual result

a newline is entered, a new entry is not added to the list. The cursor placed on the next line at the start of the line. ie - essentially outdenting from the previous list entry.

Environment

  • Operating system:
    I’m running Android 13 on a Pixel7 Pro
  • Debug info:

SYSTEM INFO:
Operating system: android 13 (Google Pixel 7 Pro)
Obsidian version: 1.4.1 (83)
API version: v1.0.3
Login status: logged in
Catalyst license: insider
Live preview: on
Legacy editor: off
Base theme: light
Community theme: Minimal
Snippets enabled: 0
Restricted mode: on


Additional information

this happens pretty consistently. However when I manually place the cursor back at the end of the last element in the list and hit enter again - obsidian behaves as expected. ie creates the new element in the list.

update - this happens 100% consistently for me. It makes list editing on mobile quite a frustrating process.