-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] CollectionView scrolling doesn't seem fixed #13777
Comments
@Tommigun1980 I just downloaded the project from #13231 and updated it to the latest stable (5.0.0.2012) and everything seemed fine - I can scroll to the bottom of the CollectionView (the last half of the last item is no longer cut off) and the scrolling doesn't jump around. I also tried the latest nightly (5.0.0.2017) and that also seems to work. Is there some other issue I'm missing? |
Hi @hartez and thanks for the reply! If I take the repro project in the aforementioned ticket and update it to either latest nightly or latest stable, it looks exactly like in https://drive.google.com/file/d/1CcDqvFsl8XihcqU-YA57eWQIAjF4PxPs/view?usp=sharing. I've been testing with the iPhone 12 simulator and latest Xcode and latest iOS version in the simulator. I saw the fix included some constant threshold that was very small. Maybe that constant is at fault here here preventing it from happening on all devices? All I can say is that if I take the repro project and update Xamarin.Forms the issue happens even after the fix. Thank you. |
@hartez To triple check I updated both projects (ie the repro project linked in ticket #13719 and my main project) to the latest stable (5.0.0.2012) and to the latest nightly (5.0.0.2017), and the issues are still happening, i.e. can't scroll to bottom and the items jump around constantly (video at https://drive.google.com/file/d/1CcDqvFsl8XihcqU-YA57eWQIAjF4PxPs/view?usp=sharing). Xcode 12.4, iPhone 12 simulator (iOS 14.4), VS For Mac 8.9 Preview build 1593, XF 5.0.0.2017 + XF 5.0.0.2012 (ie latest everything). The fix does not do anything for me. The fix 68c1777 added the constant
Maybe it doesn't work on all devices? Or maybe there are multiple issues? I am literally unable to update right now as the CollectionView broke just prior to XF5 SR3, and the fix does not work for me at all. Thank you. |
This is probably not related, but I couldn't help but notice that
changes the state, by calling
Is it really intended that a method that is used to ask for whether an update should happen actually changes the state? Shouldn't the update happen only after said method returns true? I can see a ton of things going wrong if a method that is called to check whether something needs an update actually mutates the state by itself. That paired with a magical constant,
looks to me like code that will break (which it evidently does for me as the fix literally does nothing for me, and if I update the repro project to the latest XF version the issue still happens). |
Hi. Could this be fixed as my app is completely broken right now. |
Hi. This regression is blocking me atm and the fix didn’t work. Any chance of fixing it? Thank you. |
I've downloaded the project from 13231 and updated it to 5.0.0.2012. Just today I've run it (in the simulator) on iPhone 12 Pro Max iOS 14.4 using application builds from both Windows and macOS. (I also ran it on several other devices and sims when testing for SR3). On all of these, I can scroll all the way to the bottom (the last item is not cut off) and the scroll doesn't jump around. Is there some other detail we're missing here? Is your version of the repro project modified in some way from the one linked in #13231? Are you seeing these issues at all when running on a physical device?
I'm using VS for Mac 8.9.1 (build 34) (i.e., latest stable). With VS for Windows I'm using 16.9.1 (latest stable).
You're not mixing the latest stable and the latest nightly, are you? Running one on the cross-platform project and one on the iOS project? The nightlies are built off of the main branch; depending on when the nightly was built, it won't necessarily contain all the fixes from a release branch (e.g, 5.0.0). |
When I run the project it's just broken and looks like this: https://drive.google.com/file/d/1MwB1hc7IIj0_BNXNh4cMWoa7kJNgOdg2/view?usp=sharing That is from the iPhone 12 simulator. It just doesn't work. It's not modified in any way, it's just the repro project updated to latest XF version. |
@Tommigun1980 Can you upload/post a new version of your repro project that's updated to the latest XF version? That way I can compare to the version I have here - maybe I'm missing a detail when updating the project. |
@hartez I deleted everything and reinstalled the latest version and the issue did go away. So the fix does seem to work for me now. I have not encountered this update problem before. Thank you for fixing it! I will close this ticket as I can no longer get it to happen. |
Hi.
I want to draw attention to #13719.
It was marked as fixed, but if I update to the latest nightly build (build 2017 as of this writing) or the latest stable build (5.0.0.193) the problem doesn't go away.
Repro steps are as mentioned in the ticket; to download the project linked in the ticket, and update it to the latest XF nightly (build 2017 as of this writing).
The regression in question completely breaks the CollectionView so any input would be really appreciated. The regression was introduced between XF 5.0.1.1876 and XF 5.0.1.2000-nightly.
Why was #13719 closed as fixed? If I take the repro project in there and update to a build that has the "fix" 68c1777, the bug still happens.
Was the fix tested?
Thank you.
The text was updated successfully, but these errors were encountered: