react-spectrum
cdba7487 - refactor: No longer preventDefault in usePress and allow browser to manage focus (#7542)

Commit
234 days ago
refactor: No longer preventDefault in usePress and allow browser to manage focus (#7542) * working first pass * Update mouse and touch handlers as well * Always set a tabIndex on native buttons and inputs so Safari focuses them * lint * Update tests * Make grid selection announcement more resilient to focus order * Remove focus during virtual clicks #5940 * Add test story for #7480 * Add story for #6512 * Make sure to cancel press if onClick's propagation is stopped For #5833 * fix ts * Use focusWithoutScrolling when restoring focus
Author
Parents
Loading