scratchfoundation / scratch-paint

Paint editor for Scratch 3.0
https://llk.github.io/scratch-paint/
BSD 3-Clause "New" or "Revised" License
175 stars 225 forks source link

Text tool cursor on iOS doesn't follow the text #385

Open kyleplo opened 6 years ago

kyleplo commented 6 years ago

Expected Behavior

Text tool works normal on touch

Actual Behavior

  1. The keyboard closes after first letter
  2. The keyboard stays open second time, but can’t type anything except spaces
  3. Even after closing keyboard, only first letter and spaces remain

Steps to Reproduce

Use the text tool on touch device

Operating System and Browser

iOS 11 Chrome 65

Mr-Dave2 commented 6 years ago

Just tried to reproduce this on my iPad Pro (iOS 11.3, chrome 65.0.3325.152 ). Entering text into blocks like the ask block and replying to the answer prompt worked as expected. I’m also using the native onscreen keyboard (I don’t have the one from google installed.)

kyleplo commented 6 years ago

@Mr-Dave2 This is an error in the paint editor text tool.

Mr-Dave2 commented 6 years ago

4cccc0f7-75d3-47f1-8650-6b05a4203330

Might be related. Opened a text field from a scratch 2.0 project and was able to enter text at the beginning but the cursor moves down the existing string. Also tried to insert text and noticed that the text was inserted several characters behind the selected position.

picklesrus commented 6 years ago

The text tool is working on mobile now (at least on Android, a touch chromebook, and iOS). I did notice that in safari on iOS, the cursor doesn't follow along with where you are typing.