CommunityToolkit / WindowsCommunityToolkit

The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
https://docs.microsoft.com/windows/communitytoolkit/
Other
5.89k stars 1.38k forks source link

Datagrid Incrementalload no reload #3584

Open Daveismus opened 3 years ago

Daveismus commented 3 years ago

Describe the bug

I am using the IncrementalLoadingCollection Example from the Windows Community Toolkit Sample App. I changed only from the ListView to the Datagrid from the Toolkit. If it refreshes less Elements than the full screen, there is no way (except resizing) to retrigger the reloading of new Items.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Given the following environment (Sample App w/ XAML, Project with Isolated setup, etc...)
  2. Go to '...'
  3. Click on '....'
  4. Scroll down to '....'
  5. See error

Expected behavior

I expect the LoadMoreItemsAsync() to be triggerd a second time, because there is no Scrollbar visible.

Screenshots

grafik Now, it should automatically retrigger the LoadMoreItemsAsync()

Environment

NuGet Package(s): 
All ToolkitPackages
Package Version(s): 
v 6.1.1
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [x] 2019 (version: ) 
- [ ] 2019 Preview (version: )

Additional context

Add any other context about the problem here.

ghost commented 3 years ago

Hello Daveismus, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

Kyaa-dost commented 3 years ago

@anawishnoff @RBrid ⬆️

anawishnoff commented 3 years ago

Pinging @ranjeshj as well who may have more insight into IncrementalLoading

Kyaa-dost commented 3 years ago

Thanks, @anawishnoff!!

@ranjeshj please let us know once you investigate this on your end 😊

ghost commented 3 years ago

Thanks Daveismus for patiently waiting while the team is still investigating the issue.

@anawishnoff @RBrid can we please have an update on this issue? Thanks

ghost commented 3 years ago

Thanks Daveismus for patiently waiting while the team is still investigating the issue.

@anawishnoff @RBrid can we please have an update on this issue? Thanks

ghost commented 3 years ago

Thanks Daveismus for patiently waiting while the team is still investigating the issue.

@anawishnoff @RBrid can we please have an update on this issue? Thanks

ghost commented 3 years ago

Thanks Daveismus for patiently waiting while the team is still investigating the issue.

@anawishnoff @RBrid can we please have an update on this issue? Thanks

djonasdev commented 2 years ago

I have exactly the same problem. New items are only reloaded when the application is resized but not when maximized..

incremental

iusamaaziz commented 8 months ago

Is there any update on this

Licantrop0 commented 4 months ago

Same issue here! @michael-hawker See https://github.com/microsoftgraph/dotnet-aad-query-sample/blob/main/MsGraphSamples.WinUI/Helpers/AsyncLoadingCollection.cs