Skip to main content
Oddlythinkn
Participating Frequently
August 12, 2018
Question

How to stop layers from expanding when selecting objects?

  • August 12, 2018
  • 2 replies
  • 7454 views

If you have the layers panel open and you select any object on the art board, the layer in which that selected object is in, will auto expand in the layers panel. Is there a way that it wont do that?

2 replies

dpasr
Participant
December 6, 2020

Did you ever find a solution to this? It's still present in AI 2021, and it's rather annoying when creating assets for export. This is definitely not and ideal user experience. If you manually collapse the layer after AI auto-expands it, you can use the click to select art "button" on the right of that same layer and it no longer auto-expands, which makes it "feel" like a bug.

dpasr
Participant
December 6, 2020

I just stumbled on the answer immediately after my previous post. Holding Cmd while clicking to select the top layer will not expand the sub layers. So my new workflow is now:

  1. Click anywhere on a blank part of the artboard to deselect all objects
  2. Cmd+Click the top layer, and any other layers I want to export
  3. Add assets to Export
manal shanableh
Legend
August 13, 2018

From Layers Panel Menu> Panel Options..

Show layers only

Top Level Only

Oddlythinkn
Participating Frequently
August 13, 2018

Thanks but that only hides the thumbnails and really doesn't help.
Let's say all my layers are collapsed. When I select an object that is within a sublayer, the layer expands to show the selected sublayer.
It's annoying when I have hundreds of sublayers within sublayers.

Participant
December 4, 2019

in my example i have sublayers.


Thank you  Oddlythinkn and  manal_shanableh for trying to figure this problem out together.

 

I was having this annoying issue as well, and I couldn't find a solution online except for trying the solution suggested here. It did not solve my problem entirely, but it DID help me investigate my problem more closely. I know it's a year later, but I hope this helps Adobe or the community.

 

Here is my feedback:

 

Problem:

I have several layers and objects (rather than sublayers). All layers would stay closed when I clicked an object on them, except one layer. It was opening when I clicked on some of its objects. I tried several versions of enabling and disabling features in the Show Layers Only fly-out menu from the Layers panel, but it only prevented the layer from showing all the objects when it opened. That's where I noticed that a single object was causing this layer to completely open when I clicked that object. I had made this object into a Symbol, then detached it from being a Symbol (an option from right clicking on the object). Much later, on a different day after saving and closing, I discovered this irritating layer-opening-on-its-own problem.

NOTE: I'm editing between layers, locking and unlocking and turning on and off. So this layer constaly opening on its own was making it hard and annoying to work with my file - especially because I wanted to figure out how to make it stop.

 

Solution:

I moved all of my objects to a new, empty layer; and copied/pasted that ex-Symbol object. It seemed to convert to a true object, not retaining some of its Symbol properties that I had tried to detatch it from. This seems to have worked for me. Now I can click that object, and the layer remains closed.

 

Sorry for long winded response, hope this helps others!