jQuery UI sortable scroll helper element offset Firefox issue

前端 未结 15 2346
故里飘歌
故里飘歌 2020-12-07 22:32

I have a problem with a jQuery UI 1.7.2 sortable list in Firefox 3.6, IE7-8 work fine. When I\'m scrolled down a bit, the helper element seems to have an offset of the same

15条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 23:01

    If you want to prevent browser sniffing, the CSS only solution is to set the ul or a container style to overflow: auto. If you look at the source through firebug, it's the way jQuery does it in their example.

提交回复
热议问题