You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Flex component's default direction prop is not properly set to 'row', causing unexpected layout behavior. The current implementation shows incorrect flex direction when no direction prop is provided.
Steps to Reproduce
Context: Using the Flex component in a story without specifying the direction prop
Actual Result
When no direction prop is provided, the flex direction is not defaulting to 'row' as expected, despite the CSS specification that 'row' should be the default flex direction.
Expected Result
The Flex component should:
Default to 'row' direction when no direction prop is provided
Maintain consistent behavior with standard CSS flex container defaults
Properly display child elements in a horizontal layout by default
- Add default flex direction in FlexProps interface
- Ensure consistent flex direction behavior
- Update CSS variable handling for flex direction
- Match standard CSS flex container behavior
BREAKING CHANGE: Set explicit default flex direction as 'row'
[BUG] Incorrect default flex direction in Flex component #120
Bug Description
The Flex component's default
direction
prop is not properly set to 'row', causing unexpected layout behavior. The current implementation shows incorrect flex direction when no direction prop is provided.Steps to Reproduce
Context: Using the Flex component in a story without specifying the direction prop
Actual Result
When no direction prop is provided, the flex direction is not defaulting to 'row' as expected, despite the CSS specification that 'row' should be the default flex direction.
Expected Result
The Flex component should:
Screenshots and Logs
The text was updated successfully, but these errors were encountered: