HomePhabricator
Diffusion Comm 7b34eea1a231

[web] Introduce `calculateTooltipSize` util function

Description

[web] Introduce calculateTooltipSize util function

Summary:
Introduce calculation of tooltip size basing on labels size and number of actions inside.
Some parts of this logic was in findTooltipPosition before

Test Plan: Flow; Tested with the rest of diffs stack.

Reviewers: tomek, atul, abosh

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D4914

Details

Provenance
jacekAuthored on Sep 5 2022, 12:48 AM
Reviewer
tomek
Differential Revision
D4914: [web] Introduce `calculateTooltipSize` util function
Parents
rCOMMd74f93465e62: [web] Modify `findTooltipPosition` to support new tooltip positioning logic
Branches
Unknown
Tags
Unknown