FLUID-1141: Reorderer avatar should append container to <body>

Metadata

Source
FLUID-1141
Type
Bug
Priority
Minor
Status
Reopened
Resolution
N/A
Assignee
Antranig Basman
Reporter
Jacob Farber
Created
2008-08-14T09:10:04.000-0400
Updated
2017-01-16T09:28:43.071-0500
Versions
  1. 0.5beta1
  2. 0.5
  3. 0.6beta1
  4. 0.6
  5. 0.7
  6. 0.8
  7. 0.8.1
  8. 1.0
  9. 1.1
  10. 1.1.1
  11. 1.1.2
  12. 1.1.3
  13. 1.2beta1
  14. 1.2
  15. 1.2.1
  16. 1.3
  17. 1.4
  18. 1.5
  19. 2.0
Fixed Versions
N/A
Component
  1. Reorderer

Description

To give freedom of movement as required by the Reorderer and to avoid unwanted visual effects, the avatar should probably be injected as the very last element in the document.

As an example, take a sortable ordered list. The avatar is appended to the container (an <OL>), which creates 2 problems:
1) the avatar will increment the number to the list, so if I drag #3 in a 10 item list, the avatar becomes #11
2) the avatar is subject to all the CSS-P restrictions placed on the container (like overflow: hidden will crop out the avatar in unexpected ways)

A solution to this could be to place the avatar and the end of the document

Environments

All

Comments

  • Jacob Farber commented 2008-08-15T14:09:19.000-0400

    Another point: if the draggable avatar was detached from its context, you would not see the numbers re-arranging themselves inappropriately in IE

  • Justin Obara commented 2008-09-03T10:25:22.000-0400

    This appears to be causing the drop target to persist under the tab in the springboard example

  • Michelle D'Souza commented 2008-09-08T14:12:24.000-0400

    We will need to ensure that the visual styling of the avatar is preserved when it is placed outside the reorderer container.

  • Antranig Basman commented 2008-09-08T14:47:29.000-0400

    Fixed at revision 5486

  • Antranig Basman commented 2009-01-22T15:40:34.000-0500

    I think we have determined, over time, that this was actually the wrong approach - we should return to the earlier appraoch of appending the avatar to the body, but also enable it to be "co-moving".