Page MenuHomePhabricator

[native] Move tooltip height getter in Tooltip to functional component
ClosedPublic

Authored by angelika on Wed, Dec 11, 7:37 AM.
Tags
None
Referenced Files
F3490138: D14106.id46324.diff
Wed, Dec 18, 3:11 PM
Unknown Object (File)
Tue, Dec 17, 3:01 PM
Unknown Object (File)
Tue, Dec 17, 12:22 PM
Unknown Object (File)
Mon, Dec 16, 1:36 PM
Unknown Object (File)
Mon, Dec 16, 1:24 PM
Unknown Object (File)
Fri, Dec 13, 11:17 PM
Subscribers
None

Details

Summary

Simply move get tooltipHeight function to functional component as a part of Tooltip migration to functional component.

Depends on D14104

Test Plan

Open some tooltips and verify they're positioned correctly.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

angelika held this revision as a draft.

Similar feedback to last diff: I think these getters can be replaced with the value itself

This revision is now accepted and ready to land.Wed, Dec 11, 5:44 PM
native/tooltip/tooltip.react.js
565–571 ↗(On Diff #46324)

Nit: it's already been extracted earlier in the file

Rebase and address feedback