wmcadigital / wmn-cms

Track issues about the West Midlands Network Umbraco back office and CMS
0 stars 0 forks source link

Page Content Widget #223

Open RachelFoy opened 3 years ago

RachelFoy commented 3 years ago

Can the widget move down the page as the user navigates to different sections. It currently stays at the top meaning users need to go back up every time they want to move somewhere else in the page.

Example: https://www.tfwm.org.uk/who-we-are/our-strategy/commonwealth-games-2022/games-transport-plan-text-only-version/

catiarodriguescosta commented 3 years ago

Hey Rachel, I will attach a video showing how it works when the sidebar is small and when the sidebar is bigger than the page available space. @jkmnch could you give your input here.

https://user-images.githubusercontent.com/34938764/125940165-68d92134-e3b1-4d03-8063-b3c04215a069.mp4

jkmnch commented 3 years ago

Hey @RachelFoy,

I understand the reason for this feature request, however, I don't believe that it'll work in a practical way for our standard content pages. Sticky sidebars don't work on mobile devices, where the majority of our traffic comes through. Content editors are placing a lot of content in the sidebar at the moment, which will make the sticky sidebar difficult to scroll, especially if the user has to scroll down to the bottom of the page (shown in Catia's example). Sticky sidebars also serve as a distraction from the main content.

In terms of T&C/Policy pages, the need for a sticky sidebar becomes clear. But again, some of the navigation sidebar cards on longer pages go past the height of the average browser window. This will require the user to scroll down the page to see the rest of the sidebar.

We could potentially add a 'back to top' action for the T&C/Policy pages to help users return to the top of the page. Ideally, I wouldn't want to implement this action on standard content pages, as it could be distracting for the user since it would clash with interactive components like clickable content cards, videos, maps etc.

Let us know what you think.