Whereas jQuery1.2.6 showed the expected behavior, something changed in
version 1.3.2.  Under certain circumstances, when the target element
is toggled into the hidden state, it automatically reappears.  I
believe that it only occurs, if there are only floating elements in
the target.  I narrowed it down to the following example:

<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".collapseme").show()
  $(".clickme").click(function() {
    $("body").find(".collapseme").slideToggle();
  });
});
</script>
</head>
<body>
<div class="clickme">Click Me</div>
<div class="collapseme"><div style="float: left">Lorem ipsum dolor sit
amet, ....</div></div>
</body>
</html>

Is this a bug?  Is this known?

Reply via email to