We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0d3e4 commit 85ac495Copy full SHA for 85ac495
packages/components/src/components/tab-item/tab-item.lite.tsx
@@ -30,6 +30,7 @@ export default function DBTabItem(props: DBTabItemProps) {
30
const _ref = useRef<HTMLInputElement | any>(null);
31
32
function setSelectedOnChange(event: any) {
33
+ event.stopPropagation();
34
useTarget({
35
stencil: () => {
36
state._selected = getBooleanAsString(event.target === _ref);
@@ -58,7 +59,6 @@ export default function DBTabItem(props: DBTabItemProps) {
58
59
}
60
},
61
handleChange: (event: any) => {
- event.stopPropagation();
62
if (props.onChange) {
63
props.onChange(event);
64
0 commit comments