Skip to content

v0.34.8

@fredericrous fredericrous tagged this 02 Jun 14:48
RSD-native only honors display:'flex' (not 'inline-flex'), so Badge, Button, Checkbox, Switch and InputGroup logged "display:flex is required" errors on React Native. Add an `isNative` flag (platform.ts=false / platform.native.ts=true, resolved by Metro's platform extension) and layer a `nativeFlex` (display:flex) override on those elements only on native — web keeps inline-flex (content-width pills/buttons; Button's non-fullWidth default) untouched. Verified on an iOS sim: the inline-flex flex-container warnings are gone (0 left).

Out of scope (noted, not fixed here): Checkbox crashes on native via its raw <svg><polyline> checkmark, and Checkbox/Switch's hidden <input type=checkbox> isn't implemented on RN; Grid uses display:grid (no native grid). These are separate native-readiness gaps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Assets 2
Loading