Skip to content

Dom Drop event does not receive drop Event #3591

@lyle

Description

@lyle

Nature of issue?

  • Found a bug
  • Existing feature enhancement
  • New feature request

Most appropriate sub-area of p5.js?

  • Color
  • Core/Environment/Rendering
  • Data
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Dom

Which platform were you using when you encountered this?

  • Mobile/Tablet (touch devices)
  • Desktop/Laptop
  • Others (specify if possible)

Details about the bug:

  • p5.js version: v0.7.3 January 20, 2019
  • p5.dom.js version: v0.4.0
  • Web browser and version: Chrome 72.0.3626.121
  • Operating System: MacOSX 10.14.3 (18D109)
  • Steps to reproduce this:
    In this version ( v0.7.3/v0.4.0) using element.drop(fileCallback, eventCallback) the eventCallback never fires.
    I created a codepen that shows the bug: https://codepen.io/lyle/pen/aMypPY
    This bug does not emerge when using p5.js v0.5.3 / p5.dom.js v0.2.12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions