Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 7259)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Resolution Summary Owner Reporter
#7033 invalid Sortable: Scroll Offset Issue AKotawala AKotawala
Description

Please find a reduced test case here : http://jsfiddle.net/AKotawala/RuxpV/4/

Every thing works fine here except two things

  1. If I try to Drag "Test Div 2" to the fourth row using mouse scroll wheel, I am unable to put it in a right position, either it goes to its current position or goes to some other cell in second row. Investigating into the Issue I found that there is some kind of offset getting added to the helper when I Drag a sortable element and scroll to the bottom of the table.
  1. The scroll, when I drag "Test DIV 2" to the edge of the Main outer DIV it doesn't scroll down, This is happening because each cell in table have overflow-x and overflow-y style set, According to my UI-Design I cannot remove that overflow. Is there any way to keep this overflow in its place and than too drag scroll works.

Please help me for the above 2 Issues. Thanks & Regards.

#1876 fixed ui.dialog.js - Dialog Positioning Improvement rdworth ALLPRO
Description

The current code for positioning a dialog window does not work if the dialog source DIV is 'hidden', which is likely to be a common way of using the dialog component. (I put my dialogs inside a hidden container div.) The problem is that you cannot 'measure' a div that is not displayed. This prevents the proper positioning of the dialog, such as 'center'.

There is a very simple solution - set...

display: block; visibility: hidden

...before measuring width and height. This allows dimensions to be taken without making the DIV visible.

Here is the modified 'open' code - only the first and last lines are new...

this.open = function() {
  uiDialog.appendTo('body')'''.css({ visibility: 'hidden' })'''.show();
  var wnd = $(window), top = 0, left = 0;
  switch (options.position) {
    case 'center':
      top = (wnd.height() / 2) - (uiDialog.height() / 2);
      left = (wnd.width() / 2) - (uiDialog.width() / 2);
      break;
    case 'left':
      top = (wnd.height() / 2) - (uiDialog.height() / 2);
      left = 0;
      break;
    case 'top':
      top = 0;
      left = (wnd.width() / 2) - (uiDialog.width() / 2);
      break;
  }
  uiDialog.css({ top: top, left: left, visibility: 'visible'  });
};
#3653 fixed Draggable: Bug - wrong className in iframeFix ALLPRO
Description

The classNames used when creating and removing masking-divs in the iframeFix method do not match. Because of this, the iframe masking divs are NOT REMOVED after dragging stops.

This is the code to create the iframe element:

$('<div class="ui-draggable-iframeFix" ... )

This is the code to remove the iframe(s)

$("div.DragDropIframeFix").each( ... )

The classNames do not match!

When I changed the selector to "div.ui-draggable-iframeFix", the iframes are removed correctly. So this is a simple fix - just correct the class!

NOTE: I am using the latest 'stable release' - I did not check v1.6, so perhaps this has already been fixed in that version?

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Note: See TracQuery for help on using queries.