Cell-Editor loses text-selection when mouse leaves cell

Tags: #<Tag:0x00007efc6cffa1a8>

Hey there,

every time I select some text within a cell and then drag the mouse cursor outside the cell my selection gets lost.
Happens in Chrome. Works in Firefox, Edge, IE.

I tried an older version of HoT with chrome -> no issues there.

Example where it does not work as expected: http://docs.handsontable.com/0.24.3/demo-numeric.html
Working example: http://docs.handsontable.com/0.16.1/demo-numeric.html

Any ideas?
Roman

Hi @roman.schacherl
If I get the idea, outsideClickDeselects: false should do the job.
Check this demo: http://jsfiddle.net/jtL1hwfp/

Hi aleksandra,

thanks for your fiddle but thats not what I meant.
The following gif shows the issue

As you may notice, the text-selection gets lost when the mouse leaves the cell (in chrome only)

Thanks for the video, it explains it all ! :slight_smile:

Then this example will help: http://jsfiddle.net/74a6rrmk/
I’ve added a fragmentSelection: true to our instance’s settings.
docs: https://docs.handsontable.com/pro/1.3.4/Options.html#fragmentSelection

I’m coming with good news :slight_smile: This bug is finally fixed and merged into develop (#3519). Patch will be included in the next release (planned for tomorrow).

BTW: Example provided by @aleksandra_budnik is good workaround for this issue.

That’s really good news! Thank you very much!