Code-Pop / watch-us-build-trello

271 stars 180 forks source link

fixed the issue which made the tasks uneditable #6

Closed eqaderi closed 1 year ago

eqaderi commented 4 years ago

Hi, I watched this course and I liked it thank you guys. there was one small problem at the end of the course: the tasks are not editable after extracting the Drag/Drop API, I think they forgot to test it. I fixed it and now it's working.

Just emitted the click event out.

shentao commented 4 years ago

Looking into the issue, I think what could help here would be adding .native to the ColumnTask component

<AppDrag
  @click.native="goToTask(task)"