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

Unable to preventDefault inside passive event listener due to target being treated as passive. #79

Open
HaysaRodrigues opened this issue Dec 18, 2018 · 1 comment

Comments

@HaysaRodrigues
Copy link

Hello!

I am trying to use the react-aria-modal, I'm copying my code below so you can see how it's implemented, with all the properties I'm using. But I am facing the issue Unable to preventDefault inside passive event listener due to target being treated as passive., when I try to click outside the dialog.

 <AriaModal
        onExit={this.props.onClose}
        titleText="Add to Bag"
        underlayClickExits
        escapeExits
        underlayColor="none"
        includeDefaultStyles={false}
      >

does anyone knows how to fix this?

@HaysaRodrigues
Copy link
Author

Hello!

I am trying to use the react-aria-modal, I'm copying my code below so you can see how it's implemented, with all the properties I'm using. But I am facing the issue Unable to preventDefault inside passive event listener due to target being treated as passive., when I try to click outside the dialog.

 <AriaModal
        onExit={this.props.onClose}
        titleText="Add to Bag"
        underlayClickExits
        escapeExits
        underlayColor="none"
        includeDefaultStyles={false}
      >

does anyone knows how to fix this?

this one has solved, OwlCarousel2/OwlCarousel2#1884, but I don't know if it is the best 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