I am having the same issue here. Looking forward for a prompt fix.
Thanks!
Alex
I am having the same issue here. Looking forward for a prompt fix.
Thanks!
Alex
is it solved?
Has this issue been fixed yet?
Hi guys,
A fix is being tested atm. I’ll update the thread when it gets into a daily build.
Thanks,
Alex
Hi Devs,
Sorry for jumping into here. But I have a similar issue in regards to scrollview behavior.
If I want to insert any display objects at the end of the scrollview (e.g, load more data or append) after the scrollview has already been created and I’m at half way at the scrollview, it span back to the top. That’s really undesirable behavior!
Are you aware of this issue?
hey Mustafa, a quick work around is to do the following code:
-- right before you call your function to append more data local x,y=scrollView:getContentPosition() -- after you have appended objects/data into the scrollview scrollView:scrollToPosition{x=x, y=y, time=0}
I’m having the same issues as above. My scrollView worked perfectly in the previous graphics 1.0 versions. As soon as graphics 2.0 was introduced, my scrollView stopped working. I’ve inserted all display objects into the scrollView as always. I even tried inserting the scrollView and display objects into a container and that made the problem far worse.
Can someone provide a quick example of how the scrollView works with the latest Graphics 2.0 build?
Has there been a fix for the problems stated above?
Just my two cents…Corona is a royal pain. Every time I have upgraded my code to meet the changes in the latest version, removing deprecated items, etc. (days of work) the program changes causing me to go through the same torture over and over again. This is a huge setback as I do the code and marketing. I’m left with no time to market.
@Staytooned, is there a reason you didn’t just add:
graphicsCompatibility = 1
in your config.lua instead of trying to convert your existing app to the new way of doing thing?
is it solved?
Has this issue been fixed yet?
Hi guys,
A fix is being tested atm. I’ll update the thread when it gets into a daily build.
Thanks,
Alex
Hi Devs,
Sorry for jumping into here. But I have a similar issue in regards to scrollview behavior.
If I want to insert any display objects at the end of the scrollview (e.g, load more data or append) after the scrollview has already been created and I’m at half way at the scrollview, it span back to the top. That’s really undesirable behavior!
Are you aware of this issue?
hey Mustafa, a quick work around is to do the following code:
-- right before you call your function to append more data local x,y=scrollView:getContentPosition() -- after you have appended objects/data into the scrollview scrollView:scrollToPosition{x=x, y=y, time=0}
I’m having the same issues as above. My scrollView worked perfectly in the previous graphics 1.0 versions. As soon as graphics 2.0 was introduced, my scrollView stopped working. I’ve inserted all display objects into the scrollView as always. I even tried inserting the scrollView and display objects into a container and that made the problem far worse.
Can someone provide a quick example of how the scrollView works with the latest Graphics 2.0 build?
Has there been a fix for the problems stated above?
Just my two cents…Corona is a royal pain. Every time I have upgraded my code to meet the changes in the latest version, removing deprecated items, etc. (days of work) the program changes causing me to go through the same torture over and over again. This is a huge setback as I do the code and marketing. I’m left with no time to market.
@Staytooned, is there a reason you didn’t just add:
graphicsCompatibility = 1
in your config.lua instead of trying to convert your existing app to the new way of doing thing?
HI Rob
I am updating a business App and I having exactly the same issues. I am using 2288 so a much newer build in CompatibilityMode = 1
If I move to compatibiltyMode = 2 will this fix this problem
note the work around doesn’t really fix the issue, sometimes the content appears in the correct position but then scrolls down so there’s 2/3 a screem of blank
I’ve tried playing around with the pad values but no luck either
@dominic.wood8, there isn’t a compatibliyy mode = 2. You either have a:
graphicsCompatibility = 1
line in your config.lua or you don’t. I suppose setting it to anything other than 1 would work, but the official thing is to not have the line for Graphic 2.0 builds.
I can’t find a bug report for this. If you can build a small sample that shows the problem (you must also include your build.settings and config.lua files in a .zip file) and file a bug report using the “Report a Bug” feature a the top of the page.
Thanks
Rob
thanks for the reply, don’t worry I’ve not used =2 but I wanted to know that if I went to the effort changing the app to graphics 2.0 the issues would stop.
As I can’t build with pre v2.0 any more I’m trying to track down what is happening, I have nothing to compare it with.
Do you know if the coords of the :scrollToPosition are calculated with the new coords system when compiling with the latest builds? If they are I think what is happening is that the scrollview starting coordinate is wrong causing the scroll view to ‘bounce’ and appear too far down.
Ditto does :scrollTo(“top”, {time = 250}) work?
Again I can’t compare ‘old’ and ‘new’ scrollviews but it now has a huge amount of ‘bounce’ so when you scroll past the top it pings back with the content you want to see in the wrong place. So now its hard to scroll to the top of your content
I haven’t put in a bug as I would have any issues would have been fixed by now especially as I had read the the pad was working in one of the latest daily builds.
Great if you could answer regarding the coords system of the :scrollTo(
Just done some more testing I can confirm the problem. When using the line a
scroller:scrollTo(“top”,{time = 250})
the scrollView appear to start at the top or maybe just a line or two above, this causes a crazy bounce to scroll your content so it starts 2/3 the way down the screen.
can you confirm the :scrollTo works on your code examples, as I have read that scrollview behaviour is now eratic… will converting to graphics 2 fix this?
I don’t think this is only related to ScrollView, I have exactly the same issue with tableview, anyone else?