Opened 11 years ago

Closed 7 years ago

#4335 closed bug (worksforme)

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

Change History (5)

comment:1 Changed 11 years ago by rdworth

Component: ui.coreui.sortable

comment:2 Changed 10 years ago by Jörn Zaefferer

Milestone: TBD1.7.2

comment:3 Changed 10 years ago by Jörn Zaefferer

Milestone: 1.7.21.8

comment:4 Changed 7 years ago by Scott González

Milestone: 1.9.02.0.0

comment:5 Changed 7 years ago by mikesherov

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!

Note: See TracTickets for help on using tickets.