textlink onClick when stopPropagation call two time
straxico opened this issue · 1 comments
straxico commented
textlink onClick when stopPropagation enable call two time
need use else
const onClickHandler = ev => {
if (stopPropagation) {
ev.stopPropagation();
if (onClick) onClick(ev);
}
if (onClick) onClick(ev);
};