Skip to content

PanResponder: Firefox problem #729

Closed
@MillerGregor

Description

@MillerGregor

Do you want to request a feature or report a bug?
bug

What is the current behavior?
the issue can be reproduced with the example in the RNW Storybook.

  1. using Firefox, navigate to: http://necolas.github.io/react-native-web/storybook/?selectedKind=APIs&selectedStory=PanResponder&full=0&down=0&left=1&panelRight=0
  2. mousedown on the circle, drag, and release. The first time works correctly.
  3. move the cursor off of the circle.
  4. mousedown on the circle again and drag, keeping the button pressed.
  • This time, the "original" circle appears to remain in place and a "copy" is dragged with the cursor. The cursor becomes a "(\)" symbol.
  1. mouseup.
  • The original circle is now "stuck" to the cursor (and stays blue) until another mousedown.

What is the expected behavior?
each series of mousedown->drag->mouseup moves the circle with the cursor and leaves it once the mouse button is released.

Environment (include versions). Did this work in previous versions?

  • OS: Win10 15063

  • Device: PC

  • Browser: Firefox 57.0 64bit and Firefox Developer 58.0b8 64bit

  • React Native for Web (version): 0.1.16 and 0.0.130

  • React (version): 16.0.0 and 15.5.4
    (behavior is the same)

  • works correctly on:

    • Chrome 62
    • IE 11
    • Edge 40

Clearly, Firefox Quantum is doing something different. I'd submit a bug to mozilla, but they'll want a reproduce-able example. I doubt they'd enjoy receiving my webpacked react app.

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions