Link tags are not scrolling my page to top
Unanswered
Eyebrowed Thrush posted this in #help-forum
Eyebrowed ThrushOP
I am using next js 14.1.0 the problem i am facing is my links tags are not scrolling to the top. is it some kind of bug i am using tag in wrong manner previously it never happened.
<Link
href={/companies/${company.ISIN}}
className="border relative hover:shadow rounded-xl w-full hover:bg-accent duration-300 "
key={company.ISIN}
>
<div className="absolute right-0 py-1 pr-2">
<RenderBadge />
</div>
<div className="p-4">
<div className="flex items-center justify-center mb-3">
<Image
width={250}
height={250}
alt="new"
className="bg-white rounded-md"
src={company.logo}
loading="lazy"
/>
</div>.....1 Reply
Barn Swallow
Just a note, your
What behavior are you seeing when this link is clicked at the moment?
href doesn't have backticks. href={`/companies/${company.ISIN}`}What behavior are you seeing when this link is clicked at the moment?