StoDevX / AAO-React-Native

The St. Olaf community, now in pocket size.
GNU Affero General Public License v3.0
42 stars 16 forks source link

allow section lists in filter popups to expand their content #7082

Closed drewvolz closed 12 months ago

drewvolz commented 12 months ago

Looks like flex: 1 is not enough to handle a layout we want to grow in RN.

flexShrink accepts any floating point value >= 0, with 0 being the default value (on the web, the default is 1)

We can update our filter list rows to have a styling of flex: 1 and flexShrink: 1 to both (i) layout content and (ii) present overflowing content.

Before After
Simulator Screen Shot - iPhone 14 Pro - 2023-10-08 at 18 43 14 Simulator Screen Shot - iPhone 14 Pro - 2023-10-08 at 18 42 47