Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

#next branch no response when insert a v-touch into a slot #102

Open
fengma1992 opened this issue Oct 19, 2017 · 0 comments
Open

#next branch no response when insert a v-touch into a slot #102

fengma1992 opened this issue Oct 19, 2017 · 0 comments

Comments

@fengma1992
Copy link

fengma1992 commented Oct 19, 2017

In the next branch v-touch is used as a component, it's OK to use v-touch in general condition, but When inserting v-touch component into a slot, the touch action doesn't work.
My code is like this:
a.vue:
<my-component> <v-touch tag="button" @tap="click">confirm</v-touch> </my-component>

myComponent.vue:
<template> <div> <slot></slot> </div> </template>

When I clicked the confirm buttom, nothing happend and there is no event captured in Vue devtool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant