We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using heroui and in which they are using usePress hook.
usePress
It should not throw e.target.contains undefined error
It is throwing e.target.undefined error
use optional chaining
No response
using any component that is using usePress
3.23
Chrome
nope
macos
The text was updated successfully, but these errors were encountered:
Can you provide the code you're using which is resulting in this error? I don't see it when interacting with our example on the docs website https://react-spectrum.adobe.com/react-aria/index.html on my iPhone
Sorry, something went wrong.
maybe it is passing undefined in the code I am using, I'll check and let you know
No branches or pull requests
Provide a general summary of the issue here
I am using heroui and in which they are using
usePress
hook.usePress
are throwing e.target.contains undefined.🤔 Expected Behavior?
It should not throw e.target.contains undefined error
😯 Current Behavior
It is throwing e.target.undefined error
💁 Possible Solution
use optional chaining
🔦 Context
No response
🖥️ Steps to Reproduce
using any component that is using usePress
Version
3.23
What browsers are you seeing the problem on?
Chrome
If other, please specify.
nope
What operating system are you using?
macos
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: