Self Hiding Child Cannot Hide Its Slot

A component that renders nothing when its feature is unavailable cannot remove the container someone else wrapped it in — gate the slot on the same availability predicate, publish that predicate beside the component, and branch the slot's clickable and non-clickable forms properly. Use when an empty cell, gap or stray divider appears where an optional control should be, when a group's rounded end caps land on the wrong item, or when a wrapper swallows the taps meant for the control inside it.

maxrave-dev Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/self-hiding-child-cannot-hide-its-slot commit cd4f557413

Frequently asked questions

npx skillmds@latest add maxrave-dev/self-hiding-child-cannot-hide-its-slot