Problem/Motivation

Steps to reproduce

When using the remove button, the deletion of a stop does not resize the array and the slot that the stop was in gets set to empty. This causes issues because you cannot tell how many stops are on the screen when using length. After removing a spot, the empty spaces in the array make it difficult to grab another spot to focus.

Proposed resolution

We need to fix the deletion of a spot so that it does not leave empty spaces behind. This causes the indexes to become out of sync with the IDs on the stop so we had to switch from using indexes to only using IDs.

Issue fork gradient-3520339

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lillian bozeman created an issue. See original summary.

lillian bozeman’s picture

Issue summary: View changes

lillian bozeman’s picture

Status: Active » Needs review

tim bozeman’s picture

Status: Needs review » Fixed

Thank you very much!!!

tim bozeman’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.