Framework7-Vue Accordion onClick stopPropagation

I want to prevent accordion from opening sometimes when user clicks the title, so I wrote:

<f7-list-item accordion-item>
  <span slot="title" @click.stop="onClick($event)">some title</span>

But stopPropagation seems not working.
Does anyone know what should I do to make @click stop propagation?

It won’t work, you need then to remove accordion-item prop in these cases

1 Like