Thank you for reporting this bug. We will make it our priority to review this report.
Container#moveBefore/moveAfter moves child to incorrect index when moving up (5.1.0)
Container#moveBefore/moveAfter moves child to incorrect index when moving up (5.1.0)
Bug in Ext.container.Container#moveBefore and #moveAfter: when moving a child with a lower index to a child with a higher index withing the same container, the child gets placed one position too high.
Example:
- 1, 2, 3 => move 1 before 3 => should be 2, 1, 3 but is 2, 3, 1
- 1, 2, 3 => move 1 after 2 => should be 2, 1, 3 but is 2, 3, 1
Fiddle: http://ift.tt/15X8mQH
See Fiddle example for further details, reproduction steps and expected/actual result.Additional info:
Ext version tested:
- Ext 5.0.1.1255 (works)
- Ext JS 5.1.0.107 (fails)
Browser versions tested against:- Chrome 40.0.2214.93 m
- FF 34.0.5
Container#moveBefore/moveAfter moves child to incorrect index when moving up (5.1.0)
Aucun commentaire:
Enregistrer un commentaire