# Scrollview bug: its content is not cropped when scrolling upward.

**URL:** <https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662>\
**Category:** Widgets\
**Created:** [August 8, 2013, 2:52pm UTC](https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662 "2013-08-08T14:52:11Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![ingaponteca](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/i/f1d935/32.png) [@ingaponteca](https://forums.solar2d.com/u/ingaponteca)\
**Post date:** [August 15, 2013, 8:18pm UTC](https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662/21 "2013-08-15T20:18:50Z")

</div>

Sorry guys but when can we get Graphics 2.0 ??

---

<div class="post-metadata">

**Author:** ![bjsorrentino](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/838e76/32.png) [@bjsorrentino](https://forums.solar2d.com/u/bjsorrentino)\
**Post date:** [August 15, 2013, 10:14pm UTC](https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662/22 "2013-08-15T22:14:35Z")

</div>

Hi @ingaponteca,

Please watch the blog for announcements related to Graphics 2.0. It’s currently in closed beta testing, and we’ll release it when the “moving parts” are settled and all of the APIs are worked out and finalized.

Sincerely,

Brent Sorrentino

---

<div class="post-metadata">

**Author:** ![ingaponteca](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/i/f1d935/32.png) [@ingaponteca](https://forums.solar2d.com/u/ingaponteca)\
**Post date:** [August 16, 2013, 1:40pm UTC](https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662/23 "2013-08-16T13:40:57Z")

</div>

> [@ingaponteca](#):
>
> Sorry guys but when can we get Graphics 2.0 ??

Thanks. I am already checking updates in blog news.

---

<div class="post-metadata">

**Author:** ![zdeveloper](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/z/77aa72/32.png) [@zdeveloper](https://forums.solar2d.com/u/zdeveloper)\
**Post date:** [October 8, 2013, 5:33pm UTC](https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662/24 "2013-10-08T17:33:43Z")

</div>

Hi @Brent or @Rob,

I’m having trouble with the scrollview’s scrollHeight attribute. No matter what I set its value, I am always only able to scroll the same amount. Unfortunately, this amount is exactly the height of the screen, so in effect I am unable to scroll at all (although I do know that there is stuff beyond the screen due to the “bounce” at the end of the scroll). Part of my code is as follows:

[lua]local scrollview = widget.newScrollView {

&nbsp;&nbsp;&nbsp;&nbsp;top = 0,

&nbsp;&nbsp;&nbsp;&nbsp;left = 0,

&nbsp;&nbsp;&nbsp;&nbsp;width = display.contentWidth \* 2,

&nbsp;&nbsp;&nbsp;&nbsp;height = 2000,

&nbsp;&nbsp;&nbsp;&nbsp;scrollWidth = display.contentWidth \* 2,

&nbsp;&nbsp;&nbsp;&nbsp;scrollHeight = 2000,

&nbsp;&nbsp;&nbsp;&nbsp;listener = scrollListener,

&nbsp;&nbsp;&nbsp;&nbsp;horizontalScrollDisabled = true,

&nbsp;&nbsp;&nbsp;&nbsp;hideScrollBar = false,

}[/lua]

Any suggestions? I’ve searched the forums, and I don’t think I’m the only one having this problem.

---

<div class="post-metadata">

**Author:** ![zdeveloper](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/z/77aa72/32.png) [@zdeveloper](https://forums.solar2d.com/u/zdeveloper)\
**Post date:** [October 8, 2013, 5:33pm UTC](https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662/25 "2013-10-08T17:33:43Z")

</div>

Hi @Brent or @Rob,

I’m having trouble with the scrollview’s scrollHeight attribute. No matter what I set its value, I am always only able to scroll the same amount. Unfortunately, this amount is exactly the height of the screen, so in effect I am unable to scroll at all (although I do know that there is stuff beyond the screen due to the “bounce” at the end of the scroll). Part of my code is as follows:

[lua]local scrollview = widget.newScrollView {

&nbsp;&nbsp;&nbsp;&nbsp;top = 0,

&nbsp;&nbsp;&nbsp;&nbsp;left = 0,

&nbsp;&nbsp;&nbsp;&nbsp;width = display.contentWidth \* 2,

&nbsp;&nbsp;&nbsp;&nbsp;height = 2000,

&nbsp;&nbsp;&nbsp;&nbsp;scrollWidth = display.contentWidth \* 2,

&nbsp;&nbsp;&nbsp;&nbsp;scrollHeight = 2000,

&nbsp;&nbsp;&nbsp;&nbsp;listener = scrollListener,

&nbsp;&nbsp;&nbsp;&nbsp;horizontalScrollDisabled = true,

&nbsp;&nbsp;&nbsp;&nbsp;hideScrollBar = false,

}[/lua]

Any suggestions? I’ve searched the forums, and I don’t think I’m the only one having this problem.

[Previous page](https://forums.solar2d.com/t/scrollview-bug-its-content-is-not-cropped-when-scrolling-upward/316662.md?page=1)
