feat(ui): overlay page scrollbar that takes no layout space
Continuous Integration / build_web (push) Failing after 1s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 1s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Hides the native page scrollbar and draws a fixed overlay thumb, so content no longer shifts when it appears. The thumb is driven by a CSS scroll timeline where supported, with a lightweight scroll-listener fallback, to keep scrolling smooth.
This commit is contained in:
1 parent
e39a5c70c0
commit
affbd00157
4 files changed
+327
-1
No files matched your search
@@ -24,6 +24,7 @@ import { DndProvider } from "react-dnd";
|
||||
import { HTML5Backend } from "react-dnd-html5-backend";
|
||||
import Backdrop from "@/components/backdrop";
|
||||
import { ErrorNotice } from "@/components/notices/errorNotice/errorNotice";
|
||||
import OverlayScrollbar from "@/components/overlayScrollbar";
|
||||
import RemoteControlDialog from "@/components/remoteControl";
|
||||
import RouterLoading from "@/components/routerLoading";
|
||||
import Search from "@/components/search";
|
||||
@@ -57,6 +58,7 @@ export const Route = createRootRouteWithContext<ApiContext>()({
|
||||
<RemoteControlDialog />
|
||||
<AppBar />
|
||||
<AudioPlayer />
|
||||
<OverlayScrollbar />
|
||||
<Outlet />
|
||||
</SnackbarProvider>
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in new issue
Block a user