Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/components/ResourceBrowser/browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,10 @@ export function Browser() {
};

return (
<div ref={scrollRef} className="h-full overflow-y-auto pb-[250px]">
<div
ref={scrollRef}
className="h-full overflow-y-auto pb-[250px] [scrollbar-gutter:stable]"
>
<div className="sticky top-0 z-10 bg-bg-primary py-4 shadow-[0_10px_10px_0_var(--color-bg-primary)]">
<div className="mx-auto max-w-[990px] px-8">
<SearchBar
Expand Down
9 changes: 8 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ if (

const router = createRouter({ basepath: UI_BASE_PATH, routeTree });

const queryClient = new QueryClient();
const queryClient = new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
refetchOnReconnect: false,
},
},
});

declare module "@tanstack/react-router" {
interface Register {
Expand Down