Receiving incorrect arguments inside afterRowMove event

Tags: #<Tag:0x00007f8b1d737558>

Hi,

I have found an issue (receiving incorrect arguments inside afterRowMove event) while implementing move up/down. Please run the given scenario on the following fiddle

http://jsfiddle.net/sajidali3387/2sh9gdur/1/

Scenario

  1. Move row1 after row3 [arguments: Array [ 0 ] 3 ] correct!!
  2. Move row2 after row3 [arguments: Array [ 2 ] 3 ] incorrect!! it should be Array [ 1 ] 3 because I am moving row2 now, whose visual index is 1 and not 2

Please let me know who I can fix it quickly.

Thanks
Sajid Ali

Thank you @sajidali3387

The issue has been transferred to our Github Board: https://github.com/handsontable/handsontable/issues/4377

The issue has been solve in v 0.34.1