Skip to content

Drag / drop not working in BetaFlight Configurator tool #418

@TrevorSundberg

Description

@TrevorSundberg

What platform are you experiencing this issue on?

Linux x64

What version of UWB are you using?

2.2.6

What Unity version are you running?

6000.0.3f1

Describe what the issue you are experiencing is.

Drag drop on the OSD elements on this page does not work:
https://app.betaflight.com/

The elements do not start dragging and cannot be dragged. This is the firmware configuration tool for drones.

Provide reproducible steps for this issue.

  1. Go to https://app.betaflight.com/
  2. In the left panel or hamburger menu click Options
  3. Check Enable virtual connection mode
  4. Image
  5. At the top should now say Virtual Mode (Experimental)
  6. Click Connect
  7. In the left panel or hamburger menu click OSD (it may be a tiny OSD icon)
  8. Check the box that says Adjustment range under 1 2 3 Elements
  9. Image
  10. In the top left of the field picture you'll see PITCH/ROLL, hover over it and click and hold to drag anywhere on the picture
  11. In Firefox/Chrome a small delay the PITCH/ROLL element will snap to it's new position
  12. In UnityWebBrowser the element never starts the drag and will not move
  13. Image

Any additional info you like to provide?

This is the code for the BetaFlight app configurator, where they sign up for drag:
https://github.com/betaflight/betaflight-configurator/blob/5ef9acb440cdd2572ed41db55eccf98b5471cc43/src/js/tabs/osd.js#L3930

Where they handle drag:
https://github.com/betaflight/betaflight-configurator/blob/5ef9acb440cdd2572ed41db55eccf98b5471cc43/src/js/tabs/osd.js#L2797

Let me know if you need anything else, happy to support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issueSomething is broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions