#9395 closed bug (wontfix)
ACCORDION IGNORES FIRST ITEM AFTER BEING CLONED
Reported by: | simon.ferndriger | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.accordion | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When cloning an element containing an accordtion with events, the accordion missbehaves. No matter which state the accordion was in before, the new cloned accordion opens the first item automatically. And when clicking on other items, the first item stays open! It is, as the accordion forgot about the first item at all. Only after collapsing the first item, the accordion then works just as expected.
Have a look at the jsFiddle example
Steps to reproduce failure
Click on section 2 -> section 1 stays open Click on section 1 -> the accordion works (now)
Have a look at the jsFiddle example
Change History (3)
comment:2 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Hi simon.ferndriger,
Thanks for taking the time to contribute to the jQuery UI project. Unfortunately, cloning widgets is not supported: http://contribute.jquery.org/wont-fix/.
Steps to reproduce failure
Additional issue
When hiding ALL items by default with "active: false", the cloned accordion will still show the first element by default (which it shouldn't, strictly speaking! -> bug!)