xpyjs / gantt

An easy-to-use Gantt component. 持续更新,中文文档
https://docs.xiaopangying.com/gantt/
MIT License
243 stars 41 forks source link

[BUG] when i type, the <input> element doesnt respond #100

Closed tesla-cat closed 3 months ago

tesla-cat commented 3 months ago

when i type, the input element doesnt respond

input 组件在键盘输入时无反应

image

    <x-gantt-column v-for="(v, k) in columns" :key="k" :width="v.width" :prop="k" :label="table.getHead(v)">
      <template v-slot:title="{ label }">
        <div>{{ label }}</div>
        <input placeholder="filter" />
      </template>
      <template v-slot="{ row }">
        <div class="cell" :style="{ color: row.color }" @click="v.click && v.click(row)">
          {{ table.getCell(row, k, v) }}
        </div>
      </template>
    </x-gantt-column>
jeremyjone commented 3 months ago

🤔你想干啥呢?

tesla-cat commented 3 months ago

@jeremyjone 就是排序 筛选这些呀 键盘打字时 输入框没反应 然后div 的 click 也不会被触发

1718321001569

jeremyjone commented 3 months ago

Pls update to v2.1.8

tesla-cat commented 3 months ago

@jeremyjone thank you very much for the excellent work 😊