When an image was tapped with the keyboard down, the screen would scroll to the current cursor position as the keyboard came up, which could be very far from the image that was actually tapped.
With this patch, the cursor is moved to the image, so the screen only scrolls to the bottom of the image that was tapped when the keyboard comes up.
Fixes #373.
When an image was tapped with the keyboard down, the screen would scroll to the current cursor position as the keyboard came up, which could be very far from the image that was actually tapped.
With this patch, the cursor is moved to the image, so the screen only scrolls to the bottom of the image that was tapped when the keyboard comes up.
cc @maxme