talk-ios icon indicating copy to clipboard operation
talk-ios copied to clipboard

When returning to the app in a chat and the keyboard was open, the chat isn't scrolled down

Open e-caste opened this issue 2 years ago ā€¢ 3 comments

Steps to reproduce

  1. Open a chat
  2. Select the text view to send a message which opens the keyboard
  3. Send the app to the background
  4. Return to the app
  5. The chat is open and the keyboard is up, but the chat is not scrolled down in a way that the keyboard covers its last messages

Expected behaviour

The chat is scrolled down and all the last messages are visible.

Actual behaviour

Not that, see above.

Device information

Device: iPhone X

iOS version: 16.1.1

Talk version: 15.1.1

Server information

Nextcloud version: (see admin overview page: /index.php/settings/admin/overview) 25.0.1

Talk version: (see apps admin page: /index.php/settings/apps) 15.0.1

Custom Signaling server configured: yes/no and version (see talk admin settings: /index.php/settings/admin/talk#signaling_server) no

Custom TURN server configured: yes/no (see talk admin settings: /index.php/settings/admin/talk#turn_server) yes

Custom STUN server configured: yes/no (see talk admin settings: /index.php/settings/admin/talk#stun_server) yes

Server log (data/nextcloud.log)

Insert your server log here

e-caste avatar Nov 18 '22 00:11 e-caste

Hm, Iā€˜m not seeing that here. Does it happen in all chats or is specific to a message type (file, location, etc) ?

SystemKeeper avatar Nov 18 '22 06:11 SystemKeeper

@SystemKeeper Okay so a couple of details to add:

  • It doesn't happen when just sending the app to the multitask view and going immediately back, you have to at least tap on another app and then go back to Talk.
  • To me it happens only with a very long chat that I have, i.e. I can't reproduce it with a short test chat.
  • No special message type is involved, what I so is just tapping on the text message view to compose a new message and leave it empty.

e-caste avatar Nov 18 '22 08:11 e-caste

I can't reproduce it 100% of the times, but do you think you could add a check like "if not at bottom and previous position was at bottom then scroll all the way down"?

e-caste avatar Nov 18 '22 08:11 e-caste