<p>That's just a quirky byproduct of two subtle features colliding...</p>

<p><strong>Lazy-loading index</strong> - You don't immediately see the full list of elements. You'll need to keep scrolling down to reveal them all.</p>

<p><strong>JS-based collapsing</strong> - Collapsing/expanding the tree is a client-side behavior. It uses JS to collapse/expand, then stores the current view in a session cookie.</p>

<p>The behavior is simply a minor local issue... it doesn't affect any actual data in your system. The only real solution is to <strong>refresh the page</strong> when you start seeing the weirdness. Your collapse/expand choices will be remembered, and the items will be reloaded as expected. </p>

CC BY-SA 3.0
2017-03-09T17:28:18.300Z
2017-03-09T17:28:18.300Z
Lindsey D
<p>Having a weird issue here.</p>

<p>I have a structure field inside my section on my panel which is divided up by headings.</p>

<p>The issue I'm having is that when I try to collapse a heading via the panel, it doesn't have any effect. It doesn't collapse and sometimes it makes a duplicate of itself.</p>

<p>Its a hard issue to explain over text so I've created a small video to show the issue in action.</p>

<p><a href="https://www.youtube.com/watch?v=vv8vToRCUUw&amp;feature=youtu.be" rel="nofollow noreferrer">https://www.youtube.com/watch?v=vv8vToRCUUw&amp;feature=youtu.be</a></p>

<p>Any help would be appreciated.</p>

<p>Thank you</p>

CC BY-SA 3.0
2017-05-09T20:18:50.233Z
Hi Davabo! Nice job illustrating your problem with a video. Please consider accepting Lindsey's answer if you feel it sufficiently identified the problem.
Matt Stein
<control-panel>
Craft Panel Structure Duplication Issue
# Craft Panel Structure Duplication Issue

(Asked by: username_0 on 2017-03-09)

Having a weird issue here.

I have a structure field inside my section on my panel which is divided up by headings.

The issue I'm having is that when I try to collapse a heading via the panel, it doesn't have any effect. It doesn't collapse and sometimes it makes a duplicate of itself.

Its a hard issue to explain over text so I've created a small video to show the issue in action.

<https://www.youtube.com/watch?v=vv8vToRCUUw&feature=youtu.be>

Any help would be appreciated.

Thank you

**Tags:** control-panel
> **Comments:**
> **username_1**: Hi Davabo! Nice job illustrating your problem with a video. Please consider accepting Lindsey's answer if you feel it sufficiently identified the problem.  

---

## 1 answers

### Answer by username_2 on 2017-03-09. Score: 2 | Accepted answer

That's just a quirky byproduct of two subtle features colliding...

**Lazy-loading index** - You don't immediately see the full list of elements. You'll need to keep scrolling down to reveal them all.

**JS-based collapsing** - Collapsing/expanding the tree is a client-side behavior. It uses JS to collapse/expand, then stores the current view in a session cookie.

The behavior is simply a minor local issue... it doesn't affect any actual data in your system. The only real solution is to **refresh the page** when you start seeing the weirdness. Your collapse/expand choices will be remembered, and the items will be reloaded as expected.


---

