eclipsesource / eclipsesource/tabris-js
CollectionView does not relayout when setting an image on it
Open
bug
ios
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
Setting an image on the `CollectionView` does not relayout the cell height when `cellHeight` is auto.
### Expected behavior
The cell should grow to accommodate the layout created with the applied image.
### Environment
- Tabris.js version: 3.0.0-beta2
- Device: iPhone 6
- OS: iOS 12
### Code snippet
```javascript
import {CollectionView, contentView, ImageView} from 'tabris';
contentView.append(
}
updateCell={(cell, index) => cell.image = 'resources/salad.jpg'}/>
);
```
Contributor guide
Assessment
This issue has not been assessed yet.