vuejs / jsx-vue2

monorepo for Babel / Vue JSX related packages
https://jsx-vue2-playground.netlify.app/
1.47k stars 96 forks source link

Modifiers _capture doesn't work with el-col of ElementUi #309

Closed HawtinZeng closed 9 months ago

HawtinZeng commented 1 year ago

image I want to do the outer click event handler before the inner click, so I use _capture modifiers, but I found vOn_click_native_capture can' trigger the click event, what should I do?? The online playground is here: https://stackblitz.com/edit/vue2-vue-cli-ewhdaa?file=src%2Fcomponents%2FOuter.vue

Sun79 commented 1 year ago

You can temporarily work around this bug using the following code:

<el-col {...{ nativeOn: { '!click': () => {} } }}></el-col>

Or wait for this pull request to be merged: #303.

HawtinZeng commented 1 year ago

Ok, thank u.