From 0c8049f226497c6e63eaeac7d5043862cb1adcf6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 15 Dec 2013 19:19:15 +0100 Subject: Fix position of messages list column dragging layer when the list is scrolled down --- program/js/list.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'program/js/list.js') diff --git a/program/js/list.js b/program/js/list.js index 895a9e645..6c0fbc2db 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1461,6 +1461,9 @@ column_drag_mouse_move: function(e) var lpos = $(this.list).offset(), cells = this.thead.rows[0].cells; + // fix layer position when list is scrolled + lpos.top += this.list.scrollTop + this.list.parentNode.scrollTop; + // create dragging layer this.col_draglayer = $('
').attr('id', 'rcmcoldraglayer') .css(lpos).css({ position:'absolute', 'z-index':2001, -- cgit v1.2.3