Outline Entry Hide when

Hello,

My outline entries auto hide based on if folders are available or not. However, I cannot get the parent entry to hide - this entry doesn’t seem to know that it is now expanding to nothing. So it seems to users that they are clicking on an entry that does nothing. I tried IsExpandable, but that doesn’t work for outline entires.

Any ideas?