eclipsesource / eclipsesource/tabris-js
Some ScrollView questions
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
1) At the moment, when scrolling ScrollView, there is a blue border.

As far as I know, there is no property in the `ScrollView` object to set the edge style. It would be great if it would be possible to use the [`setOverScrollMode`](https://developer.android.com/reference/android/view/View.html#setOverScrollMode(int)) method
2) Is there any way to disable the manual scrolling feature in ScrollView? In my case, I need to control scrolling only through the button (onboarding screen).
```js
.on('offsetXChanged', ({
target,
value
}) => {
target.scrollToX(0, false);
});
```
If you update offsetX every time after scrolling, it will lead to the following
[](https://gyazo.com/79a47c09ef28b76e30a3298b8e84920b)
You also won't be able to update offset every time unit, because these properties are read-only

I would like to be able to cancel scrolling before it is done. Something like [`preventDefault`](http://docs.tabris.com/latest/api/app.html#backnavigation). But it would be much better if it could be used as a `SrollView` property. For example, `scrollable: false`
Contributor guide
Assessment
This issue has not been assessed yet.