Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column names could stick to the top of screen when scrolling down report tables #3513

Closed
mattab opened this issue Nov 4, 2012 · 10 comments · Fixed by #18124
Closed

Column names could stick to the top of screen when scrolling down report tables #3513

mattab opened this issue Nov 4, 2012 · 10 comments · Fixed by #18124
Assignees
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Nov 4, 2012

It would be awesome that, when scrolling down and the header row with Column names is not visible, that instead this row would stick at the top of the screen and provide an always clear view of the data being shown.

Even Piwik team members don't know about the order of columns it is hard to remember in all views... This would improve UX for All users at once!

@mattab
Copy link
Member Author

mattab commented Nov 4, 2012

@mattab
Copy link
Member Author

mattab commented Nov 4, 2012

See attached screenshot for a clearn example of how useful it will be, when investigating Site Search results and looking at top 100 searches.

@mattab mattab added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab removed the P: normal label Aug 3, 2014
@mattab mattab added c: Usability For issues that let users achieve a defined goal more effectively or efficiently. and removed c: UI - UX (AngularJS twig less) labels Oct 12, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@tsteur
Copy link
Member

tsteur commented Apr 9, 2019

I think this one can be closed @mattab ?

@mattab
Copy link
Member Author

mattab commented Apr 9, 2019

Sticky column headers is not implemented yet. But it's not a priority or a major issue compared to the rest and we could close it. we could maybe even close all issues in the Backlog milestone... (to be discussed)

@tsteur
Copy link
Member

tsteur commented Apr 9, 2019

Yeah just seeing now it's actually not implemented. For some reason thought you''d scroll within a widget... could be maybe easily solved not sure.

@sgiehl
Copy link
Member

sgiehl commented Apr 14, 2019

If it would be enough to support modern browsers except of IE we maybe could try using position: sticky. See https://caniuse.com/#feat=css-sticky

@tsteur
Copy link
Member

tsteur commented Apr 14, 2019

mentioned it here as well sticky be fine

@mattab mattab modified the milestones: Backlog (Help wanted), 4.2.0 Oct 22, 2019
@tsteur
Copy link
Member

tsteur commented Mar 26, 2021

for tables sticky will also work soon in webkit/chrome etc https://web.dev/compat2021/#css-position:-sticky

@tsteur
Copy link
Member

tsteur commented Oct 7, 2021

if there is an unexpected complexity (causing it to take > 2 days) in making this work please reach out.

@peterhashair peterhashair self-assigned this Oct 8, 2021
@sgiehl
Copy link
Member

sgiehl commented Nov 2, 2021

Note: The merge PR enables sticky headers only for datatables that fit in the available space. For tables that need a horizontal scroll bar, sticky header will not work. Not sure if we want to create a follow up issue to check if we can use javascript to make sticky headers also work for such cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants