react-spectrum
499f54ec - Fix Android TalkBack double tap behavior with TableView/ListView highlight selection (#2520)

Commit
3 years ago
Fix Android TalkBack double tap behavior with TableView/ListView highlight selection (#2520) * updating isVirtualPointerEvent to better detect TalkBack double tap fixed TableView/ListView highlight selection behavior where double tapping on the row would replace selection instead of toggling selection. usePress thought that TalkBack double tap was a mouse event rather than a virtual event causing SelectionManager to do a replace instead of a toggle * adding test * adding more tests for ListView and TableView highlight selection * fixing iOS long press and distiguishing talkback double tap from safari click * adding bug link for Safari pointer pressure * use state.pointerType if available in onClick virtual click detection * update android talkback virtual click check * fixing tests * forgot to save fix to usePress test smh Co-authored-by: Devon Govett <devongovett@gmail.com>
Author
Parents
Loading