@fto-consult/expo-ui 2.38.0 → 2.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "2.38.0",
3
+ "version": "2.38.1",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -175,7 +175,7 @@ const DatagridFactory = (Factory)=>{
175
175
  renderItem(args){
176
176
  const {index,numColumns,item,isSectionListHeader,isScrolling:_isScrolling,style,setSize} = args;
177
177
  args.isAccordion = true;
178
- if(isSectionListHeader){
178
+ if(isSectionListHeader || item.isSectionListHeader){
179
179
  const rowStyle = style ? [style] : [];
180
180
  const rowProps = {};
181
181
  const it = this.renderFlashListItem({...args,rowProps,rowStyle});
@@ -528,7 +528,7 @@ const DatagridFactory = (Factory)=>{
528
528
  </ScrollView>
529
529
  </View>
530
530
  return <View testID={testID+"_Container"} pointerEvents={pointerEvents} style={[styles.container]} collapsable={false}>
531
- { <View testID={testID+"_ContentContainer"} style={[{maxHeight}]}>
531
+ { <View testID={testID+"_ContentContainer"} style={[{maxHeight,height:maxHeight}]}>
532
532
  <View testID={testID+"_AccordionHeader"} style={[styles.accordionHeader]} ref={this.layoutRef} onLayout={this.updateLayout.bind(this)}>
533
533
  {this.props.showActions !== false ? <DatagridActions
534
534
  testID={testID+"_Actions"}
@@ -568,6 +568,7 @@ const DatagridFactory = (Factory)=>{
568
568
  prepareItems = {false}
569
569
  {...rest}
570
570
  {...accordionProps}
571
+ containerProps = {{style:[{maxHeight}]}}
571
572
  onRender = {this.onRender.bind(this)}
572
573
  testID = {testID}
573
574
  extraData = {this.state.refresh}