0.9.1-alpha.8
Alpha@xaui/native@0.9.1-alpha.8
Patch Changes
-
6cc7b49: Fix
asChildonPressableFeedback, which silently dropped every pressable prop.Under
asChildthe root renders aSlot, and aSlotmerges its props into its single child. That child was the feedback context provider, so the ref, the style, the press handlers anddisabledall landed on a provider that ignores them: the caller's element stopped reacting to touch entirely, with no error to say so. The provider now sits above the root, and the caller's element receives the props it was always meant to.The default overlay is no longer rendered under
asChild. The caller's element is the pressable there, so there is no sibling to inject it as; the context is still published, so<PressableFeedback.Highlight />among the caller's own children still works.