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
F15421978: D21255.diff
Sat, Mar 22, 4:10 AM
F15416210: D21255.diff
Thu, Mar 20, 9:50 AM
F15396381: D21255.id.diff
Sun, Mar 16, 1:53 PM
Unknown Object (File)
Mon, Feb 24, 2:44 AM
Unknown Object (File)
Sat, Feb 22, 3:50 PM
Unknown Object (File)
Feb 9 2025, 9:18 AM
Unknown Object (File)
Feb 9 2025, 9:18 AM
Unknown Object (File)
Feb 9 2025, 9:18 AM
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.