dart-lang / dart-pad

An online Dart editor with support for console, web, and Flutter apps
https://dartpad.dev
BSD 3-Clause "New" or "Revised" License
1.71k stars 555 forks source link

Unable to remove new lines on Android #2686

Open dumazy opened 1 year ago

dumazy commented 1 year ago

What happened?

When using DartPad on an Android phone with Chrome browser, it's not able to remove new lines.

Steps to reproduce problem

  1. Enter a new line.
  2. Write text on it
  3. Remove the text until the cursor is at the beginning of the line
  4. Press backspace on the soft keyboard
  5. The keyboard closes and the empty line is still there

Additional info

Browser

Browser: Chrome Android

Version: 118.0.5993.80

Machine

Operating system: Android

Version: 14

parlough commented 4 months ago

Thanks for the report and reproduction details!

I can't reproduce this issue with the newest version of the UI. If anyone is still experiencing this issue though, please reopen or open a new issue with reproduction details and device info. Thanks :)

dumazy commented 4 months ago

https://github.com/dart-lang/dart-pad/assets/2174500/94490e94-e1de-4315-8a06-b84ec011dd25

Here's a screen recording. The keyboard closes as I try to delete the newline.

FMorschel commented 2 months ago

I can reproduce this in the Firefox app for Android (v129.0) as well. In my case, GBoard doesn't pop, but no line is removed as well. Tested with desktop mode and it all works normally.