How to prevent the click event from a children not rendered by vue to bubble up to the parent

  Kiến thức lập trình

https://codepen.io/darkbasic/pen/LYKEvmQ?editors=0010

The previous codepen allows you to resize vuetify table rows. Unfortunately with sortable: true the click event from the “hanlde” div bubbles up to the header row and triggers the toggleSort function from the default vuetify table headers. I don’t want to override the headers slot so I cannot use @click.self="toggleSort", while adding e.stopPropagation() to the addEventListener doesn’t work. Any idea?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT