eclipsesource / eclipsesource/tabris-js

CollectionView does not relay out its cell when rotating device

Open
#1,822 1 comment 0 reactions 0 assignees View on GitHub
bug ios
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Problem description

The snippet below shows incorrect layout after the device has been rotated. There is to much space allocated to the cells which now fit into two lines, were they required three lines before. The cells are not properly relayouted.

### Expected behavior

The layout should be consistent after rotating the device.

### Environment

- Tabris.js version: 3.0.0-beta2
- Device: iPhone 6
- OS: iOS 12

### Code snippet

```jsx
import {CollectionView, Composite, contentView, TextView} from 'tabris';

contentView.append(
{
return

;
}}
/>
);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.