Skip to content

Fix relative positioning when moving items down and there is no space

Jarka Košanová requested to merge 32839-fix-relative-position-edge-case into master

What does this MR do?

When we want to move an object after another object but there is no space, the positions of the items between these two objects are recalculated.

But in move_after and move_before we don't update the value. This MR fixes this.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

#32839 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports