Skip to content

[Bug] Cannot edit block textboxes with WebBLE on IPad #1963

@ralrivera

Description

@ralrivera

Describe the bug
WebBLE is the only browser so-far that I have been able to connect with a Pybricks hub with on an IPad. Creating and deploying code works great! The only problem encountered so far is that you cannot edit text values of textboxes in blocks. We haven't tested every block, but it happens with set-up blocks names, motor power values, comparison values, & variable names/values. This is not the case with other IPad browsers. Chrome & Bluefy both can edit block textboxes when tested on the same IPad. The issue persists after restarting the program and restarting the IPad.

This happens both when using just the touch screen and when an external keyboard/trackpad is used.

To reproduce
Steps to reproduce the behavior:

  1. Go to code.pybricks.com or beta.pybricks.com with the WebBLE app on an IPad
  2. Create a new blocks project
  3. click on the default "Hello, Pybricks!" textbox within the print block to edit it.
  4. No keyboard or input method is displayed to edit.
  5. click setup to add a hub block
  6. drag and connect to setup stack
  7. try to edit the Hub's name and get similar results to steps 3-4 above

Expected behavior
An input window should appear where you can type the desired value using a physical keyboard or a virtual keyboard should appear to input a value if no keyboard is present

Screenshots
None of the white 'greyed out' name boxes in setup or any of the white textboxes were able to be edited. All of the drop-down controls worked as expected.

image

Extra Info
WebBLE Version - 1.7.0
IPadOS Version - 17.5.1
Will also submit a report to WebBLE on github and link it in a comment below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: iOSIssues that only occur on iOSblocked: upstreamThis issue is with a 3rd-party project and is out of scope of Pybrickssoftware: pybricks-blocksIssues with blocks and code generationsoftware: pybricks-codeIssues with https://code.pybricks.com application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions