1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Munich (Bavaria/Germany)
    Posts
    291
    Vote Rating
    1
    defcon1 is on a distinguished road

      0  

    Default Sample Desktop: No DnD with absolute positioned Divs

    Sample Desktop: No DnD with absolute positioned Divs


    Hi,

    I am just playing with the great Sample Desktop and positioned a Div-Element absolute.
    I also defined a DragSource to move the Div on the desktop but it doesn´t work. As soon
    as I remove the absolute position in the CSS, it works.

    Someone´s got a idea to solve this?

    Thanks and regards,
    D1

  2. #2
    Sencha User
    Join Date
    Dec 2008
    Location
    Munich (Bavaria/Germany)
    Posts
    291
    Vote Rating
    1
    defcon1 is on a distinguished road

      0  

    Default


    I´ve found the solution. I just added the property "z-index: -1" to the "x-desktop"-css and set "z-index: 1" to my DragSource.