FLUID-5103: Can't move a dynamically added element until another element has been moved.

Metadata

Source
FLUID-5103
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Michelle D'Souza
Created
2013-07-26T14:57:48.013-0400
Updated
2014-03-03T11:31:02.422-0500
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Reorderer

Description

When elements are dynamically added to the Reorderer, they are not immediately moveable. The behaviour is different with the mouse and the keyboard. With the mouse, it is not possible to pick up the new element. With the keyboard, the user can select the element but when they try to move it, the element above is moved instead. In both cases, if another element is moved first, the newly added element can then be moved normally.

http://build.fluidproject.org/infusion/tests/manual-tests/html/dynamic-reorderer.html

Steps to reproduce with the mouse:
1. Click the 'New Div' button
2. Attempt to move the newly created div with the mouse
Notice that you can't pick up the element

Steps to reproduce with the keyboard:
1. Tab to and activate the 'New Div' button
2. Tab to the Reorderer and use the arrow keys to select the newly created div
3. Attempt to move the newly created div up
Notice that the element above the newly create div is moved instead

Environments

FF 22

Comments

  • Michelle D'Souza commented 2013-07-26T15:15:23.262-0400

    We should probably move this manual test to a unit test so this issue is caught faster in the future.

  • Antranig Basman commented 2014-02-09T03:47:20.917-0500

    A fix is at https://github.com/fluid-project/infusion/pull/463 - the issue to automate this test is at FLUID-4049 which I have linked and commented

  • Justin Obara commented 2014-03-03T11:31:00.594-0500

    The pull request was merged into the project repo at 796e6cdc49399308b528b8fc5721462c07add56e