Skip to content

The styles.cell in the cell file located after composedStyles will cause the custom style to be overwritten by the default flex, rendering the custom style invalid #29

@luoxue-c-ui

Description

@luoxue-c-ui

style={StyleSheet.flatten([
{
borderTopWidth,
borderRightWidth,
borderColor,
},
composedStyles,
style,
cellContainer.style,
styles.cell,
])}
The flexErr here is invalid
<Text style={{ marginBottom: 10 }}>Demo2
<Table borderStyle={{ borderWidth: 1 }}>
<Row data={state.tableHead2} flexArr={[1, 2, 1, 1]} style={styles.head} textStyle={styles.text2} />

<Col data={state.tableTitle2} style={styles.title} heightArr={[28, 28]} textStyle={styles.text2} />
<Rows data={state.tableData2} flexArr={[2, 1, 1]} style={styles.row} textStyle={styles.text2} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions