support icon indicating copy to clipboard operation
support copied to clipboard

[Bug] Cannot edit block textboxes with WebBLE on IPad

Open ralrivera opened this issue 1 year ago • 1 comments

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.

ralrivera avatar Dec 04 '24 17:12 ralrivera

Linke to WebBLE Github issue report: https://github.com/daphtdazz/WebBLE/issues/62

ralrivera avatar Dec 04 '24 17:12 ralrivera