Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Card missing onDragStart, onMouseEnter, and onMouseLeave event handlers #2181

Closed
shravan2x opened this issue Feb 24, 2018 · 1 comment · Fixed by #2269
Closed

Card missing onDragStart, onMouseEnter, and onMouseLeave event handlers #2181

shravan2x opened this issue Feb 24, 2018 · 1 comment · Fixed by #2269

Comments

@shravan2x
Copy link

Bug report

  • Package version(s): ^1.35.4
  • Browser and OS versions: Chrome 64.0.3282.167, Windows 10

Steps to reproduce

  1. Create an element
<Card onDragStart={this.handleDrag} onMouseEnter={this.handleMouseEnter} onMouseLeave={this.handleMouseLeave}>

Actual behavior

Respective events are called when dragged, mouse entered, or mouse left.

Expected behavior

Nothing happens.

@giladgray
Copy link
Contributor

giladgray commented Mar 2, 2018

easy fix: Card should support html props, like many other components do. see tag.tsx, for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants