ui icon indicating copy to clipboard operation
ui copied to clipboard

Scroll does not reset when changing component view

Open JuaniSilva opened this issue 2 years ago • 6 comments

When going from one component to another the scroll does not reset to the top. brave_bpjDWTNSH8

JuaniSilva avatar Jan 24 '23 18:01 JuaniSilva

many thanks for your feedback @JuaniSilva this seems like a normal flow, shall we do some improvement here? @shadcn

mertcanaltin avatar Jan 24 '23 19:01 mertcanaltin

@shadcn I made a small touch can we use this pr

preview

mertcanaltin avatar Jan 24 '23 20:01 mertcanaltin

It looks like this is a known issue in Next.js 13 app dir. Let's keep an eye on https://github.com/vercel/next.js/issues/42492

@mertcanaltin I'll check the PR.

shadcn avatar Jan 25 '23 15:01 shadcn

It looks like this is a known issue in Next.js 13 app dir. Let's keep an eye on https://github.com/vercel/next.js/issues/42492

@mertcanaltin I'll check the PR.

ok i will follow it ❤️🚀

mertcanaltin avatar Jan 25 '23 15:01 mertcanaltin

Update: now everything goes to the top even if the content didn't change brave_Vxn0AWfgfJ

JuaniSilva avatar Mar 04 '23 22:03 JuaniSilva

Shall we close the issue as if the problem is solved? @shadcn

mertcanaltin avatar Mar 13 '23 09:03 mertcanaltin

This is fixed. Thanks everyone.

shadcn avatar May 03 '23 08:05 shadcn