Page MenuHomePhabricator

[native] fix button container height in RemoveTagButton
ClosedPublic

Authored by ginsu on Jun 20 2024, 8:33 PM.
Tags
None
Referenced Files
F2835683: D12533.diff
Sat, Sep 28, 2:24 PM
Unknown Object (File)
Sat, Sep 14, 3:11 AM
Unknown Object (File)
Sat, Sep 14, 3:11 AM
Unknown Object (File)
Sat, Sep 14, 3:11 AM
Unknown Object (File)
Sat, Sep 14, 3:11 AM
Unknown Object (File)
Sat, Sep 14, 3:11 AM
Unknown Object (File)
Tue, Sep 10, 7:24 AM
Unknown Object (File)
Aug 19 2024, 5:14 PM
Subscribers

Details

Summary

As I was factoring out logic for the remove tag button, noticed a small issue where the button was slightly shifting the height of the panel a few pixels when the content was going from "Remove tag" to the loading spinner. We should set the height of the button container so that this does not happen

Depends on D12532

Test Plan

Confirmed that the height of the button container remained the same when switching between loading and non-loading state

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu added reviewers: kamil, inka.
ginsu added inline comments.
native/community-settings/tag-farcaster-channel/remove-tag-button.react.js
42 ↗(On Diff #41592)
62 ↗(On Diff #41592)

Already introduced the style here just forgot to call it smh

ginsu requested review of this revision.Jun 20 2024, 8:49 PM
This revision is now accepted and ready to land.Jun 21 2024, 12:57 AM
This revision was landed with ongoing or failed builds.Jun 21 2024, 11:20 AM
This revision was automatically updated to reflect the committed changes.