Skip to content

Conversation

donchi-donald
Copy link
Contributor

No description provided.

@donchi-donald donchi-donald linked an issue Sep 17, 2025 that may be closed by this pull request
Copy link

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_href(required) da müssen wir schauen - bitte probiere das Beispiel mit React aus und adaptiere es dann für reines HTML.

Copy link
Contributor Author

@donchi-donald donchi-donald Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @deleonio ,

ich habe nochmal drüber nachgedacht. Da es bereits ein React-Sample-Projekt gibt, würde ich dort ein React-Router-Beispiel ergänzen (mit identischer Route in _href und navigate(...)). Hintergrund: onClick mit deaktiviert beim Primärklick die native _href-Navigation, während Rechtsklick/„In neuem Tab öffnen“ weiterhin dem _href folgt – daher müssen beide Pfade übereinstimmen.

In der Doku verlinken wir dann direkt auf dieses Sample und lassen auf der Seite selbst ein kurzes HTML-Only-Beispiel.

Wenn das für dich passt, erstelle ich im Haupt-Kolibri-Repo ein Ticket und aktualisiere anschließend diese PR später entsprechend. passt es?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beim onClick event.defaultPrevent verwenden - oder?

Copy link
Contributor Author

@donchi-donald donchi-donald Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ja exact, kann ich dafür ein Sample in react erweitern?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beim onClick event.defaultPrevent verwenden - oder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link mit React Router
2 participants