eclipsesource / eclipsesource/tabris-js
ScrollView Doesn't scroll if the content's position is set using a transform
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
When setting a transform property on a widget inside a ScrollView, the ScrollView acts as if there's no content to scroll.
### Expected behavior
I have not use Tabris for a while but I know this was working on Tabris 2.
### Environment
- Tabris.js version:3.0.1
- Device: iPhone 6S
- OS: iOS 12.3.1
### Code snippet
```javascript
const testScrollView = new ScrollView({
width: 200,
height: 200,
background: 'green'
})
contentView.append(testScrollView)
const testComposite = new Composite({
height: 50,
width: 100,
transform: {translationY: 250}
background: 'red'
})
testScrollView.append(testComposite)
```
Contributor guide
Assessment
This issue has not been assessed yet.