(06-16-2020, 02:39 PM)vinnn Wrote:(06-16-2020, 08:23 AM)swizzle Wrote: Looking at this a bit more, how useful do people find the quick-jump way index on desktop? Maybe we can trim that out as it’s mainly a mobile thing.
I too find this invaluable.
Don't know about the size of your collection @swizzle but without the quick-jump I'd be scrolling for ages trying to get to artists past C(and it's faster than using the search dialogue).
My collection is about 24k tracks. We kind of copped the concept from iOS where there weren’t draggable scrollbar thumbs, though that’s a fancier implementation that lets you swipe through the list. I sometimes use it to move to a general area of my collection but I tend to either use random to find something to listen to or search (which is always faster than scrolling and hunting).
So keeping it we should do something like:
#index-whatever {width:1em;...} (repeat for all indexes, we can maybe approximate though)
#albumcovers {width:calc(100% - (var(--sbw) + 1em)));margin-left:calc(var(--sbw) + 1em));...}
(the ellipsis represents the current rule set)
I think we’ll want to filter out macOS Safari from the new scrollbar appearance as it doesn’t need it, we may need to use js but there might be some clever css out there. I’ll have to charge up my pencil to see if the pointer directive applies it to iPad with that though it’s pretty obscure I’d think, I’m not sure if the new trackpad support on iOS qualifies but don’t have one to test.
ETA: no issue with Apple Pencil (as in it doesn’t trigger the media query)