Blank space problem while using collapse feature

Any solution maybe? I have the same problem.