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

Original Event not available in handler of several components #181

Open
5 tasks done
guiherzog opened this issue Oct 8, 2019 · 0 comments
Open
5 tasks done

Original Event not available in handler of several components #181

guiherzog opened this issue Oct 8, 2019 · 0 comments

Comments

@guiherzog
Copy link
Contributor

Bug Report

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version?
  • Did you check the FAQs to see if that helps you?
  • Are you reporting to the correct repository?
  • Did you perform a search in the issues?

For more information, see the CONTRIBUTING guide.

Versions

Version 0.8.1

Description

Original Events are not available for most components.

We should check other components as well. Not having the original event makes it really difficult to stop propagation, prevent default or access any other param from the original event which might be needed in specific cases.

Steps to Reproduce

  1. Go to KitchenSink of Precise-UI
  2. Open Toggle Component
  3. Print the event object on the onChange prop
  4. Object does not have the originalEvent as stated on its Props list.

Expected behavior: Original Event should be available

Actual behavior: Original Event is undefined

Environment details: Any Browser.

Possible Solution

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

No branches or pull requests

1 participant