Page MenuHomePhabricator

[native] fix create roles screen bottom of permissions list being cut off
ClosedPublic

Authored by ginsu on Feb 7 2024, 12:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 23, 11:24 PM
Unknown Object (File)
Sun, Jun 23, 11:08 PM
Unknown Object (File)
Thu, Jun 20, 1:16 AM
Unknown Object (File)
Thu, Jun 20, 12:09 AM
Unknown Object (File)
Thu, Jun 13, 2:52 PM
Unknown Object (File)
Thu, Jun 13, 11:17 AM
Unknown Object (File)
Tue, Jun 11, 10:06 AM
Unknown Object (File)
Tue, Jun 11, 10:06 AM
Subscribers

Details

Summary

When a user scrolled all the way down on the Permissions list in the Create Role screen, the Manage Invite Links’ description is cut off. This diff adds some padding to the contentContainerStyle of the ScrollView which resolves that visual bug

Linear task: https://linear.app/comm/issue/ENG-6355/permissions-list-in-create-role-screen-is-misaligned

Test Plan

Please see the demo videos below

before:

after:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Feb 7 2024, 12:59 PM
atul added inline comments.
native/roles/create-roles-screen.react.js
191–223 ↗(On Diff #36801)

Could prob memoize since this is native

This revision is now accepted and ready to land.Feb 7 2024, 1:03 PM
This revision was landed with ongoing or failed builds.Feb 7 2024, 2:24 PM
This revision was automatically updated to reflect the committed changes.