qwik
qwik copied to clipboard
[✨] Qwik-city Link preventdefault:click
Is your feature request related to a problem?
Hello,
The preventdefault:click on <Link href="/qwik"> is ignored.
Describe the solution you'd like
Take into account preventdefault:click when using <Link /> component and do not trigger navigation when its present.
https://github.com/BuilderIO/qwik/blob/275e1c7723a0cf95d8e910514a8047a217bb137f/packages/qwik-city/runtime/src/link-component.tsx#L25
Describe alternatives you've considered
None
Additional context
Thank you