communityconnect icon indicating copy to clipboard operation
communityconnect copied to clipboard

Adding Scroll bar on Category List

Open ndesai06 opened this issue 7 years ago • 7 comments

Currently, the Category list on mobile is hiding 4 categories after "Healthy Foods and Food Pantries".

ndesai06 avatar Jan 30 '19 01:01 ndesai06

Context: some categories don't showup in mobile because they get cut off

galiat avatar Jan 30 '19 01:01 galiat

https://github.com/codeforboston/communityconnect/blob/master/src/components/SlidingPane/SplitScreen.module.css

If I just set overflow: scroll in .slidingPane in the above css file, then the category list becomes scrollable. However, then the button to open/close the category drop-up becomes irrevocably hidden. Any ideas? I've tried styling the button, but can't figure it out.

Before: screen shot 2019-02-07 at 4 41 16 pm

After: screen shot 2019-02-07 at 4 40 50 pm

bfeif avatar Feb 07 '19 21:02 bfeif

This scroll change should be good for now. Our final idea is to move the category list completely to the three line filter button on the top right for the mobile view (which I assume would still be scrollable after this change). So I don't think we need to worry about the button here.

sayansaha1143 avatar Feb 08 '19 16:02 sayansaha1143

But, without the button, the drop down list cannot be re-hidden, obfuscating the rest of the screen's contents.

bfeif avatar Feb 08 '19 16:02 bfeif

filter overlay

@bfeif - these are the new designs from Will. We still need those css change.

galiat avatar Feb 09 '19 23:02 galiat

This scroll change should be good for now. Our final idea is to move the category list completely to the three line filter button on the top right for the mobile view (which I assume would still be scrollable after this change). So I don't think we need to worry about the button here.

@sayansaha1143 So, should I push these changes then? Or wait until the new designs for this "Category" view are implemented.

bfeif avatar Feb 13 '19 00:02 bfeif

You can push now, after you merge your changes with the latest.

sayansaha1143 avatar Feb 13 '19 23:02 sayansaha1143