tsdocs icon indicating copy to clipboard operation
tsdocs copied to clipboard

Added scroll functionality to sidebar tsd-nested-navigation

Open qublaidev opened this issue 1 year ago • 3 comments

https://github.com/pastelsky/tsdocs/assets/87904640/430c7eb3-4efb-45b6-b1bf-1d30e8c48289

QOL improvement: for when there is too much functions, interfaces etc. to scroll to top of the sidebar

qublaidev avatar Dec 20 '23 15:12 qublaidev

This might get awkward because you now possibly have an inner scroll as well as an external sidebar scroll.

pastelsky avatar Dec 21 '23 05:12 pastelsky

This might get awkward because you now possibly have an inner scroll as well as an external sidebar scroll.

Yes, that's why I created a little spacing between scroll area of the accordion content and sidebar.

I can add a seperate scrollbar to the sidebar to make the user understand the difference a bit better but I'm afraid that it would make it seem cluttered and also I couldn't find the tsd-small-nested-navigation :dD

qublaidev avatar Dec 21 '23 06:12 qublaidev

Yeah I don’t think that’s a very conventional way for sidebars to work (I haven’t seen dual scrolls in use anywhere personally or found them useful).

I think search might be better suited for longer lists. We do want to add a CMD + K search pallete to tsdocs for quick nav, so it might be more appropriate to focus energy there.

Regards, Shubham Kanodia

On Thu, 21 Dec 2023 at 11:51 AM, Kubilay Kabataş @.***> wrote:

This might get awkward because you now possibly have an inner scroll as well as an external sidebar scroll.

Yes, that's why I created a little spacing between scroll area of the accordion content and sidebar.

I can add a seperate scrollbar to the sidebar to make the user understand the difference a bit better but I'm afraid that it would make it seem cluttered and also I couldn't find the tsd-small-nested-navigation :dD

— Reply to this email directly, view it on GitHub https://github.com/pastelsky/tsdocs/pull/19#issuecomment-1865585656, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEIEH6H4KP4WUDBZG7WHLDYKPINLAVCNFSM6AAAAABA466ZNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVGU4DKNRVGY . You are receiving this because you commented.Message ID: @.***>

pastelsky avatar Dec 21 '23 07:12 pastelsky