Page MenuHomePhabricator

Adding getBoundingClientRect math to getPos in Vector.js
ClosedPublic

Authored by lpriestley on Apr 11 2014, 10:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 9:05 AM
Unknown Object (File)
Fri, Apr 26, 3:53 PM
Unknown Object (File)
Wed, Apr 24, 11:52 PM
Unknown Object (File)
Wed, Apr 24, 8:53 PM
Unknown Object (File)
Wed, Apr 24, 8:48 PM
Unknown Object (File)
Thu, Apr 11, 10:17 AM
Unknown Object (File)
Apr 5 2024, 2:58 PM
Unknown Object (File)
Apr 3 2024, 7:15 PM
Subscribers

Details

Summary

Ref T4714, tooltips in fullscreen mode need special math, due to fixed position throwing off position of tooltips.

Test Plan

Create work board, create several tasks, create several columns, drag tasks among columns and within columns. Create a paste, check tooltips in comment box show and are positioned correctly. Fullscreen comment box. Verify tooltips still show and position correctly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lpriestley retitled this revision from to Adding getBoundingClientRect math to getPos in Vector.js.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
epriestley edited edge metadata.

This is essentially the modern jQuery implementation, too:

https://github.com/jquery/jquery/blob/master/src/offset.js

This revision is now accepted and ready to land.Apr 11 2014, 11:09 PM
epriestley updated this revision to Diff 20784.

Closed by commit rP8af84a9b7da3 (authored by @lkassianik, committed by @epriestley).