There’s one option in the Layers panel options that seems to be a mystery to many users: Suppress Text Wrap When Layer Is Hidden.
In this InDesign “Quick Tips” tutorial, Adobe Certified Instructor Jeff Witchel discusses this and other options in the Layers panel.