Page MenuHomePhabricator

When users click headers to select diff UI elements, don't eat the events
ClosedPublic

Authored by epriestley on May 14 2020, 6:46 PM.
Tags
None
Referenced Files
F15539415: D21255.id50611.diff
Fri, Apr 25, 1:30 AM
F15536080: D21255.id50611.diff
Thu, Apr 24, 8:21 AM
F15488363: D21255.diff
Thu, Apr 10, 9:37 PM
F15485503: D21255.diff
Thu, Apr 10, 12:12 AM
F15463534: D21255.id50611.diff
Apr 2 2025, 12:34 AM
F15461846: D21255.id50616.diff
Apr 1 2025, 11:48 AM
F15459749: D21255.id.diff
Mar 31 2025, 3:49 PM
F15458041: D21255.diff
Mar 30 2025, 8:29 PM
Subscribers
None

Details

Summary

Ref T13513. Currently, clicking inline or changeset headers eats the click events. This doesn't serve any clear purpose, and means these clicks do not clear text selections from the document, which is unusual.

Test Plan
  • Selected some text in a diff.
  • Clicked a changeset header to select it.
  • Before patch: text selection and context menu were retained.
  • After patch: text selection was cleared and context menu was dismissed.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 14 2020, 9:34 PM
This revision was automatically updated to reflect the committed changes.