p = false"

            x-intersect="doSomething"

            x-intersect:enter="console.log('in'); up = true;"
            x-intersect:leave="console.log('out'); up = false;"
            x-description="Dropdown panel, show/hide based on dropdown state."
            x-transition:enter="transition ease-out duration-100"
            x-transition:enter-start="transform opacity-0 scale-95"
            x-transition:enter-end="transform opacity-100 scale-100"
            x-transition:leave="transition ease-in du