#3460 closed bug (invalid)
Accordian with options "alwaysOpen: false" breaks when clicking on header that is already selected
Reported by: | Myrlyn | Owned by: | flesler |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | plugin | Version: | 1.2.6 |
Keywords: | jQuery, UI, Accordion | Cc: | doug.domeny@…, ted.henry@… |
Blocked by: | Blocking: |
Description
While recently working with the accordion for jQuery UI, I found that if I set the accordion to use the "alwaysOpen: false" option, and opened a given section of the accordian, and then click on the header for that open section again while open, the accordion will cease to function properly.
Change History (4)
comment:1 Changed 15 years ago by
Component: | unfilled → plugin |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 14 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I think this was meant to be the following description (if not pleas e move to a new ticket)
In the jquery\demos\accordion\fillspace.html chang the script to
<script type="text/javascript"> $(function() { $("#accordion").accordion({ header: "h3", fillSpace: true, alwaysOpen: false }); }); $(function() { $("#accordion").accordion("activate",false); }); </script>
After this open the fillspace.html in a browser (I used FF 3.0.5). Expected behaviour: All sections closed *with* closed look Real Behaviour: All sections are closed but section 1 shows the colors and the arrow from being open. Clicking the section 1 bar to open it and again to close it shows the 'all closed' correctly -IMHO also as it should be on load-
comment:3 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .
comment:4 Changed 6 years ago by
Cc: | doug.domeny@ektron.com; ted.henry@ektron.com → doug.domeny@ektron.com, ted.henry@ektron.com |
---|
Please repost this to the UI Bug Tracker.