eclipsesource / eclipsesource/tabris-js

Allow to get inner bounds of ScrollView

Open
#1,930 0 comments 0 reactions 0 assignees View on GitHub
feature js
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Problem description

When adding a child to a `ScrollView` it is not possible to scroll to the end position as we are not aware of what size the inner area has. The `bounds` property only reflects the outer `ScrollView` bounds.

The current workaround is to embed a `Composite` into the `ScrollView` but that should not be necessary.

### Expected behavior

Allow to get the `innerBounds`. In addition we would need a `innerResize` event to handle the new inner size.

### Environment

- Tabris.js version: 3.x

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.