Telegram-iOS icon indicating copy to clipboard operation
Telegram-iOS copied to clipboard

Message field doesn’t raise for the keyboard on iPadOS 16

Open MrAsterisco opened this issue 2 years ago • 14 comments

Checklist

  • [x] I am reporting an issue in existing functionality that does not work as intended
  • [x] I've searched for existing GitHub issues

Description

I am running iPadOS 16 Beta 2. It looks like something has changed in the handling of the keyboard, as Telegram is no longer raising the input bar to keep the input field in the visible screen area after the keyboard has been displayed.

Expected Behavior

  • When tapping on the message input field in a chat, the field should move up to avoid the iOS keyboard.

Actual Behavior

  • The message input field doesn’t move and is covered by the iOS keyboard.
  • This also happens when using an external keyboard (see 2nd screenshot).

Steps to Reproduce

  1. Open a conversation where you can type messages.
  2. Tap on the message input field to focus it and to reveal the keyboard.

Screenshots and Videos

5050CF40-2881-4D5D-B526-86DCC7E7C075

7E2BF837-9E21-42B4-82C7-350E36BCA25F

Environment

Device: iPad Pro 12” M1

iOS version: 16.0 Beta 2

App version: 8.8.1

MrAsterisco avatar Jun 27 '22 09:06 MrAsterisco

Just to report that I am also same issue on iPadOS 16, the latest public beta as of today (20B5056e).

Especially when Telegram is in Slide Over mode (this mode is available on iPadOS 15 too), using keyboard doesn't raise the input bar.

jiatern avatar Oct 01 '22 18:10 jiatern

Same for me on an iPadOS 16.1 in Slide Over.

ylytkin avatar Oct 25 '22 19:10 ylytkin

Yeah, it’s totally true, iPadOS 16.1 in Slide Over.

hexinzhe avatar Nov 05 '22 15:11 hexinzhe

I have found a workaround that is able to fix it. Basically:

  1. Enable Stage Manager, open Telegram and resize the window to a squarish size and move it to the center vertically. Leave some space on top and bottom of the window.
  2. Click the text entry box and let the keyboard show up. Hide the keyboard. Don't touch anything else
  3. Swipe up from the bottom to go to the Home page of iPad.
  4. Disable Stage Manager mode
  5. The bug in Slide Over mode should be fixed now.

Repeat the whole process if it ever happen again. You can refer to the images below too:

IMG_1870 IMG_1871

jiatern avatar Nov 05 '22 15:11 jiatern

I have found a workaround that is able to fix it. Basically:

  1. Enable Stage Manager, open Telegram and resize the window to a squarish size and move it to the center vertically. Leave some space on top and bottom of the window.
  2. Click the text entry box and let the keyboard show up. Hide the keyboard. Don't touch anything else
  3. Swipe up from the bottom to go to the Home page of iPad.
  4. Disable Stage Manager mode
  5. The bug in Slide Over mode should be fixed now.

Thanks for help, I already knew about this workaround, and sometimes I used it. but I still think I need Slide Over things fixed quickly, because Stage Manager sucks……

hexinzhe avatar Nov 05 '22 15:11 hexinzhe

Also, Stage Manager is not available on most of the current iPad models.

ylytkin avatar Nov 05 '22 15:11 ylytkin

I see, I thought this bug only happens to those models with Stage Manager. Not sure Apple or Telegram needs to fix this, doesn't seem to affect other apps yet. Hopefully a fix is coming soon.

jiatern avatar Nov 05 '22 15:11 jiatern

I can report that it doesn't work if Telegram is opened in slide over mode. Fullscreen mode works as expected but in slide over the keyboard doesn't raise up. Please note that my iPad doesn't support stage manager. Oh and I restarted the app itself and the iPad. It didn't resolve the issue.

See attachment video showcasing my issue. I cropped it to hide my contacts. Just in case it's hard to see that I went into fullscreen mode. RPReplay_Final1667936125.webm

iPad model: iPad 8th Generation iPad OS version: 16.1 (20B82) Telegram app version: 9.1.0 (App Store)

Mondei1 avatar Nov 08 '22 19:11 Mondei1

I found a workaround for iPads without Stage Manager.

While in Slide Over, 'Float' the keyboard and then 'Dock' it. The text field in Telegram will slide upwards above the docked keyboard.

iphoting avatar Jan 18 '23 05:01 iphoting

I can report that it doesn't work if Telegram is opened in slide over mode. Fullscreen mode works as expected but in slide over the keyboard doesn't raise up. Please note that my iPad doesn't support stage manager. Oh and I restarted the app itself and the iPad. It didn't resolve the issue.

See attachment video showcasing my issue. I cropped it to hide my contacts. Just in case it's hard to see that I went into fullscreen mode. RPReplay_Final1667936125.webm

iPad model: iPad 8th Generation iPad OS version: 16.1 (20B82) Telegram app version: 9.1.0 (App Store)

I can assure issue still happens in slide over mode, fullscreen or Multitasking are working as intended. I tried with other apps, and slide over keyboard works as intended.

iPad model: 11 inch 2ndGen IPad OS Version: 16.2 Telegram App Version: 9.3.2 (AppStore)

SlideOver (the Issue) Imagen PNG

Multitasking (working as intended) Imagen PNG 2

SrBurner avatar Jan 19 '23 10:01 SrBurner

Looks resolved in Telegram version 9.4.

iphoting avatar Feb 04 '23 17:02 iphoting

Yep, can confirm on my device!

ylytkin avatar Feb 04 '23 17:02 ylytkin

I just update now and, Success Confirmed!!

SrBurner avatar Feb 04 '23 18:02 SrBurner

I can also confirm that it now works. Thanks Telegram devs, very cool :+1:

Mondei1 avatar Feb 06 '23 14:02 Mondei1