Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Sticky sidebar #28

Open
simonwhatley opened this issue Jan 24, 2019 · 3 comments
Open

Sticky sidebar #28

simonwhatley opened this issue Jan 24, 2019 · 3 comments
Labels
component Goes in the 'Components' section of the Design System

Comments

@simonwhatley
Copy link
Contributor

Service: Claim for Crown court defence
Phase: Live
Department: Legal Aid Agency

cccd_sticky_sidebar

@simonwhatley simonwhatley added the component Goes in the 'Components' section of the Design System label Apr 15, 2019
@simonwhatley
Copy link
Contributor Author

simonwhatley commented Jul 18, 2019

Screen Recording 2019-07-19 at 17 22 11 2019-07-19 17_50_33

Service: Moving People Safely
Phase: Private Beta
Department: HMPPS

@adamsilver
Copy link
Contributor

I worry about this sort of thing and I'm not sure about making it a component. It's a line or two of CSS that might depend on context anyway. I don't know how we'd abstract it - any ideas?

Also I'd use sticky things as a last resort because:

  1. sticky menus are usually employed to solve symptoms that mask the true underlying problem with a design like it's too long in the first place
  2. items within the sticky look like their close at hand but they aren't easy to focus with the keyboard from where the user is scrolled. Not a biggie but worth a thought in some contexts.

@theDustRoom
Copy link
Member

Sticky items can be problematic when viewed on smaller/low resolution displays as they may not fit within the viewable area and will obviously not allow the content within to be brought into view when the user scrolls down.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component Goes in the 'Components' section of the Design System
Projects
None yet
Development

No branches or pull requests

3 participants