#156 new
Matt Wells

Firefox Sortable Ghosting

Reported by Matt Wells | January 14th, 2009 @ 06:12 PM

I have created a table that I have added Sortable too. When you move a row around the padding around them expands and does not go back. I am using Firefox/3.0.5 (Gecko/2008120122), script.aculo.us v1.8.2 and Prototype 1.6.0.3. This problem is only there when Ghosting is enabled it also does not affect IE7.0.5730.13.

I have attached a screenshot of the problem, you can see the top 5 rows have different amounts of padding on them after you have moved a row around.

The code I used to create it is below:

Event.observe(window, 'load', function() { Sortable.create('sortable', {

tag: 'tr',
hoverclass: 'hover',
ghosting: true,
onUpdate: function() {
  new Ajax.Request('projects_order_handler.php', {
    method: 'post',
    parameters: {
      data: Sortable.serialize('sortable')
    }
  });
}

}); });

Comments and changes to this ticket

  • Matt Wells

    Matt Wells January 14th, 2009 @ 06:17 PM

    • Tag changed from ff, ghosting, padding, sortable, table to ff, ghosting, padding, safari, sortable, table

    Firefox 2.0 Gecko/20061010 and Safari 3.1.2 (525.2.1) also has this issue

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.
<br/><b>Source available from github</b>
The Git repository resides at:
<a href="http://github.com/madrobby/scriptaculous">http://github.com/madrobby/scriptaculous</a>
<br/>Check out the current development trunk with:
<code>git clone git://github.com/madrobby/scriptaculous.git</code>
<br/>As <b>script.aculo.us 1.xx is feature-frozen</b>, this development trunk is for <b>bugfixes only</b>.
<br/>New development should happen only for
<b>script.aculo.us 2</b>.
<br/><b>Creating a bug report</b>
When creating a bug report, be sure to include as much relevant information as possible. Post a an example that shows off the problem. Preferably, <b>alter the unit tests</b> and show through either changed or added tests how the expected behavior is not occuring.

People watching this ticket

Attachments

Pages