Page MenuHomePhabricator

[native] Add possibility to display nux tip above an item
ClosedPublic

Authored by inka on Aug 13 2024, 9:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 5:44 PM
Unknown Object (File)
Wed, Nov 20, 12:35 PM
Unknown Object (File)
Wed, Nov 20, 12:35 PM
Unknown Object (File)
Wed, Nov 20, 12:34 PM
Unknown Object (File)
Nov 12 2024, 5:39 PM
Unknown Object (File)
Nov 8 2024, 11:06 PM
Unknown Object (File)
Nov 8 2024, 4:17 PM
Unknown Object (File)
Nov 8 2024, 12:23 PM
Subscribers

Details

Summary

issue: ENG-9039
I initially removed this logic during my refactor, but @ashoat requested adding it back in D12981

Test Plan

Rendered a tip with both above and below. Checked that the triangle is in the correct place, and the animation expands in the right direction

Diff Detail

Repository
rCOMM Comm
Branch
inka/nux
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka requested review of this revision.Aug 13 2024, 9:44 AM

Thanks for doing this!

native/tooltip/nux-tips-overlay.react.js
206

Why two statements on one line?

tomek added inline comments.
native/tooltip/nux-tips-overlay.react.js
283

Why wasn't it included in the deps?

This revision is now accepted and ready to land.Aug 14 2024, 6:46 AM
native/tooltip/nux-tips-overlay.react.js
206

I don't know what happened here. I'll fix this

283

Before it was outside of the component

Address review + fix translation y value (request from D13071)