adobe / react-spectrum

A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.
https://react-spectrum.adobe.com
Apache License 2.0
13.11k stars 1.14k forks source link

fix: make `a` tag link draggable with usePress #7448

Open mehm8128 opened 3 days ago

mehm8128 commented 3 days ago

Closes https://github.com/adobe/react-spectrum/issues/6618

I'm not sure this solution is proper to solve the issue so if there is some missing consideration please let me know ๐Ÿ™

โœ… Pull Request Checklist:

๐Ÿ“ Test Instructions:

  1. open storybook Link Example http://localhost:9003/?path=/story/react-aria-components--link-example&providerSwitcher-express=false&strict=true
  2. Attempt to drag the link with a mouse

๐Ÿงข Your Project: