MaTeMaTuK / gantt-task-react

Gantt chart for React with Typescript
MIT License
879 stars 487 forks source link

Make Input possible in table #217

Closed nikmaxott closed 10 months ago

nikmaxott commented 10 months ago

A small fix to allow inputs in the TaskListTable to receive input, not perfect as it means when a user uses the arrow keys inside an input it still navigates, but it makes it a lot more useable.

nikmaxott commented 10 months ago

To prevent the arrow keys propogating when in an input you have to put this code in any input. onKeyDown={(event) => { event.stopPropagation(); }}