Skip to main content

Search and Top Navigation

#4335 closed bug (worksforme)

Opened March 13, 2009 04:57PM UTC

Closed October 29, 2012 05:57AM UTC

Sortable forcePlaceholderSize has no effect in Internet Explorer

Reported by: ichverstehe Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

With latest jQuery + UI and Sortable, setting forcePlacerholderSize has no effect, at least not in Internet Explorer 7.

Here's a test case:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
<script src="/jaste.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/jquery-ui.min.js"></script>
    <script type="text/javascript">
      $(document).ready(function() {
        $("#sections").sortable({
          forcePlaceholderSize: true
        })
      })
    </script>
  </head>
  <body>
    <h1>My Page</h1>
    <div id="sections">
      <div class="section">
        <h2>Section 1</h2>
        This has some awesomeness.
      </div>

      <div class="section">
        <h2>Section 2</h2>
        And this has other awesomeness.
      </div>

      <div class="section">
        <h2>Section 3</h2>
        This is not awesome at all.
      </div>
  </div></body>
</html>

See it live at http://jastie.heroku.com/47

Attachments (0)
Change History (5)

Changed March 18, 2009 10:45AM UTC by rdworth comment:1

component: ui.coreui.sortable

Changed May 07, 2009 11:03AM UTC by jzaefferer comment:2

milestone: TBD1.7.2

Changed May 07, 2009 01:24PM UTC by jzaefferer comment:3

milestone: 1.7.21.8

Changed October 11, 2012 02:54PM UTC by scottgonzalez comment:4

milestone: 1.9.02.0.0

Changed October 29, 2012 05:57AM UTC by mikesherov comment:5

resolution: → worksforme
status: newclosed

Thanks for taking the time to contribute to the jQuery UI project! I can no longer reproduce the issue using the latest jQuery and jQuery UI. http://jsfiddle.net/EyHaV/

If you can still reproduce it, please feel free to reply to this ticket with a test case showing the problem. Thanks!