-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
Not sure what I make of this but to clean up the TODO notes, please see if this issue can be resolved.
_onClick(e) {
// TODO: if OSX && key.isMeta?
if (!e.metaKey) {
e.preventDefault();
e.stopPropagation();
const {bundleData, reuseDom} = this.props;
navigateTo(this.props.path || this.props.href, {
bundleData,
reuseDom,
});
if (this.props.onClick) {
this.props.onClick(e);
}
} else {
// do normal browser navigate
}
}
Metadata
Metadata
Assignees
Labels
No labels