Page MenuHomePhorge

Disables opening of hovercard if trigger node is inside hovercard
Needs ReviewPublic

Authored by bekay on Tue, Apr 15, 17:35.

Details

Summary

If the content of a hovercard contains another hovercard trigger, the initial hovercard will be closed when entering the inside trigger with the mouse. You can see the bug with every differential hovercard which contains reviewers. But there are other cases too: For example if project descriptions use mentions oder other project tags.

This fix is pretty easy and returns inside the mousemove handler if the trigger node has a closest ancestor with the class "jx-hovercard-container".

Closes T16029

Test Plan

See if a hovercard is closed if you enter following inside the hovercard:

  • reviewers inside differential hovercard
  • people mentsions or other project tags inside project hovercard

Diff Detail

Repository
rP Phorge
Branch
T16029
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1873
Build 1873: arc lint + arc unit