What’s The Bug?
The default iOS keyboard is slow to respond to both tap-to-insert and swipe-to-insert text input on large objects (roughly 1 second per tap/swipe). I suspect that it is related to the number of inline-linked objects that are contained in the object. Other things contained in the objects are highlighted and callout formatting, a table of contents, and images.
How To Reproduce It
- Create an object
- Add roughly 10,000 words/62,000 characters which would include images, inline links, and various text formatting
- Type anywhere in the object
The Expected Behavior
Typing on the default iOS keyboard would be as quick to respond as it would be on a smaller document - immediate.
Additional Context
The object I noticed the issue on is 10,534 words/62,376 characters.
I copied the object into a word counter, which removed the table of contents, inline links, and images. Then I copied all of that and put it back into another different object. Typing was much faster, but still slightly slower than an object with less… stuff.
I’m assuming this is an edge case because of how complicated the object is. I attached the exported object in the Crash Logs or Debug Files section in case it helps.
Device
iPhone 13 Pro
OS
iOS 17.2.1
Anytype Version
0.27.1
Technical Information
Device: iPhone 13 Pro
OS version: 17.2.1
App version: 0.27.1
Build number: 3
Library version: v0.30.11
Account ID: A7NKJThv3PxQdy4p11emUyhvjEh7rxPCXq2iup2Kb4tWhW3n
Device ID: 12D3KooWEeMmWG2jrrWqWh1qwNfXemxjj6M471frSYMKaadGBNtj
Analytics ID: A9FwjZbSqB7esWk5h2y3inwoFK8GZBJuTKZFSN7XFVVPMThe
Crash Logs or Debug Files
Anytype.20240209.100233.43.zip (14.6 MB)