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

No "Done" button on a keyboard when focusing on a text input in Web Apps

Open filippgit opened this issue 11 months ago • 2 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

No "Done" button on a keyboard when focusing on a text input in Web Apps. Since Safari's default behavior on iOS does not blur the text field when the user taps outside (unlike Android browsers), it basically leaves them "trapped" inside. The only way to get out that I've found is to lose focus of the entire page (i.e. by triggering a popup).

This occurs only in Web Apps, other webviews are showing the said button (see screenshots).

Input in the example below is a

Expected Behavior

There is a "Done" button on the keyboard which lets the user complete filling in the text field

Actual Behavior

There is no "Done" button

Steps to Reproduce

  1. Open https://t.me/snortingpugbot/app in the iOS client
  2. Tap the text field on the top of the page

Screenshots and Videos

https://github.com/TelegramMessenger/Telegram-iOS/assets/35934233/e75159e4-c8fb-43b8-95fc-0e24f4570d3f

photo_2024-04-03_02-41-52

Below is the same Web App's URL opened in a standard Telegram webview: photo_2024-04-03_02-41-51

Environment

Device: iPhone 11

iOS version: 16.7

App version: 10.10

filippgit avatar Apr 02 '24 23:04 filippgit

Nice catch. I agree that the lack of this button makes forms harder to fill out, especially when you need to switch from one input to another. Would be nice to see it fixed 🙏

kubk avatar Apr 03 '24 10:04 kubk

same issue? any updates?

azabroflovski avatar Aug 27 '24 02:08 azabroflovski