ScrollView, scrollWidth weird behaviour start from build 2716

Hi guys,

I saw that the scrollView bug:

"error ?:0: attempt to perform arithmetic on field ‘_scrollWidth’ (a nil value) " is finally fixed (Thanks guys, good job! :slight_smile: )

in build 2716 (also happen in build 2720) the scrollWidth (which calculate automatically based on items we put inside the scrollView) have a weird behaviour…I can scroll the scrollView until all of my items inside the scrollView, out of scrollView display… its like the scrollWidth is 2 time bigger than it should…

FYI, its still working fine in 2705

anybody also have this problem?
 

Thanks,

Rocky
 

Hi Rocky,

Can you please post your scrollView setup code? We will need to see at least that to help determine what’s going on.

For clarity in the forums, remember to please surround your code with “lua” tags:

[lua] --code [/lua]

Thanks,

Brent

Hi Rocky,

Can you please post your scrollView setup code? We will need to see at least that to help determine what’s going on.

For clarity in the forums, remember to please surround your code with “lua” tags:

[lua] --code [/lua]

Thanks,

Brent