hotfix: resolve double header on referenzen page and fix hash link scroll bug
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 1m24s
Build & Deploy / 🧪 QA (push) Successful in 1m25s
Build & Deploy / 🏗️ Build (push) Successful in 2m37s
Build & Deploy / 🚀 Deploy (push) Successful in 36s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 54s
Build & Deploy / 🔔 Notify (push) Successful in 4s
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 1m24s
Build & Deploy / 🧪 QA (push) Successful in 1m25s
Build & Deploy / 🏗️ Build (push) Successful in 2m37s
Build & Deploy / 🚀 Deploy (push) Successful in 36s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 54s
Build & Deploy / 🔔 Notify (push) Successful in 4s
This commit is contained in:
@@ -24,6 +24,11 @@ export function TransitionLink({ children, href, onClick, transitionMessage, ...
|
||||
return;
|
||||
}
|
||||
|
||||
// Hash links on the same page should not trigger a transition
|
||||
if (href.toString().startsWith('#')) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Default Link Navigation blockieren
|
||||
e.preventDefault();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user