inovua / reactdatagrid

Empower Your Data with the best React Data Grid there is
https://reactdatagrid.io
Other
3.45k stars 57 forks source link

Duplicate cells when scrolling #401

Open Bar-Yehudai opened 7 months ago

Bar-Yehudai commented 7 months ago

Use the following example or any other case where the cell is a text input. Click the first cell input, type some random text, start scrolling. You will see the text you typed appear in the cells that are scrolled into view.

<ReactDataGrid
  columns={[{
    name: 'text',
    render: () => <input />
  }]}
  dataSource={[{ text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }, { text: '' }]}
/>