Page MenuHomePhabricator

[native] fix button container height in RemoveTagButton
ClosedPublic

Authored by ginsu on Jun 20 2024, 8:33 PM.
Tags
None
Referenced Files
F3280532: D12533.id41592.diff
Sat, Nov 16, 9:14 AM
Unknown Object (File)
Fri, Nov 1, 12:49 PM
Unknown Object (File)
Fri, Nov 1, 12:49 PM
Unknown Object (File)
Fri, Nov 1, 12:49 PM
Unknown Object (File)
Fri, Nov 1, 12:49 PM
Unknown Object (File)
Fri, Nov 1, 12:49 PM
Unknown Object (File)
Oct 12 2024, 2:18 PM
Unknown Object (File)
Sep 28 2024, 2:24 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
Lint Not Applicable
Unit
Tests Not Applicable

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.