Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Update ItemsUpdatingScrollMode when element loaded on iOS #10284

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

modplug
Copy link
Contributor

@modplug modplug commented Apr 9, 2020

Description of Change

The ItemsViewRenderer on iOS will now update the ItemsUpdatingScrollMode upon loading the element.

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

The ItemsViewRenderer on iOS will now update the ItemsUpdatingScrollMode upon loading the element.
There seems to be a timing issue where setting the ItemsUpdatingScrollMode right after creating the CollectionView doesn't fire the OnElementPropertyChanged method in the ItemsViewRenderer.

Before/After Screenshots

Not applicable

Testing Procedure

I've added the different ItemsUpdatingScrollMode modes to the ObservableCodeCollectionViewGallery

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

Copy link
Member

@jfversluis jfversluis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @modplug sorry it took a short while! Thank you so much for this first contribution!

Seems to work fine!

@rmarinho rmarinho merged commit b4fa7a6 into xamarin:master Apr 15, 2020
@samhouts samhouts added this to the 4.7.0 milestone May 12, 2020
@ederbond
Copy link
Contributor

ederbond commented Jun 3, 2020

Which version will this be released?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] CollectionView ItemsUpdatingScrollMode=KeepLastItemInView not working on iOS
5 participants