You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is the sidebar intended only as a top-level layout component?
#572
The sidebar (and related) components from topcoat-ui currently appear to assume that they are the top-level layout. sidebar_provider and sidebar request their height to be the full viewport height (h-svh), and they're designed to scroll their own content when it overflows. This makes it unsuitable for embedding into a larger layout. For example if you have a site header and a main content section and you want a sidebar within the main content section, you cannot use sidebar for this. Perhaps it's simply not intended to be a general purpose sidebar. I could obviously customize my local copy to change its behavior, but it seems a bit unfortunate that it isn't more of a general purpose sidebar.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
The
sidebar(and related) components fromtopcoat-uicurrently appear to assume that they are the top-level layout.sidebar_providerandsidebarrequest their height to be the full viewport height (h-svh), and they're designed to scroll their own content when it overflows. This makes it unsuitable for embedding into a larger layout. For example if you have a site header and a main content section and you want a sidebar within the main content section, you cannot usesidebarfor this. Perhaps it's simply not intended to be a general purpose sidebar. I could obviously customize my local copy to change its behavior, but it seems a bit unfortunate that it isn't more of a general purpose sidebar.All reactions