Handsontable: Browser is frozen during cell selection because of CopyPastePlugin

Created on 10 Nov 2016  路  2Comments  路  Source: handsontable/handsontable

Description

The browser is frozen during cell selection because of CopyPastePlugin
In result of selection of all cells is browser freezing for a while. It's not visible for small datasets, but beginning from 400x400, the delay is noticeable.

Steps to reproduce

  1. Go to demo
  2. Try select all cells in table (CTRL+A / CMD+A)
  3. Directly after that try click on B1

Demo

http://jsfiddle.net/8o65pj5j/

Screenshot

screen shot 2016-11-10 at 12 44 10

Your environment

  • Version: 0.29.0
  • Browser Name and version: Chrome 54.0.2840.98
  • Operating System: macOS Sierra 10.12.1
Copy-paste Released Bug

Most helpful comment

Hi @swistach

I've used the 0.29.0 version (your demo) and it has frozen my browser for a couple of seconds. Then I updated to 0.35.0 and was able to select B1 without lags.
Here's an updated demo http://jsfiddle.net/oy7fe6jk/
I think that we can close the issue report.

All 2 comments

With copyPaste: false, selection of cells lasts <0.014s (~1000x faster).

Hi @swistach

I've used the 0.29.0 version (your demo) and it has frozen my browser for a couple of seconds. Then I updated to 0.35.0 and was able to select B1 without lags.
Here's an updated demo http://jsfiddle.net/oy7fe6jk/
I think that we can close the issue report.

Was this page helpful?
0 / 5 - 0 ratings