Jump to content

ASMselect drag position


Soma
 Share

Recommended Posts

Not sure if it's a jquery ui sortable problem... when I drag (template fields for example, or all others using jqui sortable) on a page that is scrolled down, the selected item shows up on complete wrong y coordinate - like scrolltop offset is missing... not sure how to fix that, but it breakes the usability.

Link to comment
Share on other sites

Not sure if these random thoughts are any help, but at least on pagelist it creates .PageListSortPlaceholder which need to be exact same height than other sortable items, otherwise it will create "jump effect". But I believe that those "2D" sortables like AsmSelect don't create that element (or it is set to 0 height). Maybe you now give it some height or padding and it adds that offset or something?

Link to comment
Share on other sites

Thanks Ryan for asking. I changed the padding of the sortable item div's to get mor spacing.. also on page list tree, now the position of the item when draging around is like 100px above mouse but only if page is scrolled down. I remember having similar problems working with sortables. I think it has to do with the way css is set on those and to what jquery ui sortable settings are set.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...