Adding newline to item ending with a phone number causes phone number to be put on new line

Steps to reproduce

  1. Create new file. On the first bullet, type out the following text: Number: (555) 555-5555
  2. Wait for 5-10 seconds. You should see the phone number is now underlined.
  3. With the cursor still in focus at the end of the line, press the return button on the iOS keyboard to create a new line.

Expected result

The cursor is kept on the first line and the typed text is moved to a new line.

Actual result

The cursor is moved to a new line and the typed text is kept on the first line.

Environment

iOS 10.3.3, Dynalist mobile app version 1.1.21

(optional: additional steps)

After doing steps 1-3 – move cursor to end of line with the phone number (assuming the bug was reproduced, this should be line 2). Press return again. You’ll notice now the phone number has been split between two lines (ie, “Number: (555)” on one line and “555-5555” on another line)

I was able to repro this issue. Added to our todo list.

From the looks of it the iOS auto phone number recognition intervened with Dynalist’s editor and that caused issues. Will fix!

Thanks Erica!