Skip to content

Conversation

@devanathan-vaithiyanathan
Copy link
Contributor

@devanathan-vaithiyanathan devanathan-vaithiyanathan commented Sep 3, 2025

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Root Cause

On Windows, setting IsRefreshing = true programmatically triggered RequestRefresh(), which fired the refresh event again and caused an infinite loop.

Description of Change

In the Refresh event, the IsRefreshing property should be set to true only when its current value is false. This prevents unnecessary refresh cycles and avoids triggering the refresh logic repeatedly when it is already in progress.

Issues Fixed

Fixes #31375

Validated the behaviour in the following platforms

  • Android
  • Windows
  • iOS
  • Mac

Output Screenshot

Before After
Before.mp4
After.mp4

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Sep 3, 2025
@dotnet-policy-service
Copy link
Contributor

Hey there @@devanathan-vaithiyanathan! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Sep 3, 2025
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@devanathan-vaithiyanathan devanathan-vaithiyanathan marked this pull request as ready for review September 4, 2025 14:29
Copilot AI review requested due to automatic review settings September 4, 2025 14:29
@devanathan-vaithiyanathan devanathan-vaithiyanathan requested a review from a team as a code owner September 4, 2025 14:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen changed the base branch from main to inflight/current September 11, 2025 16:07
@PureWeen PureWeen merged commit 2b64cf8 into dotnet:inflight/current Sep 11, 2025
79 checks passed
PureWeen pushed a commit that referenced this pull request Sep 18, 2025
…eshing is set to True (#31471)

* fix added

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* test case added

* Update RefreshViewHandler.Windows.cs

* Update Issue31375.cs

* Update Issue31375.cs
PureWeen pushed a commit that referenced this pull request Sep 18, 2025
…eshing is set to True (#31471)

* fix added

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* test case added

* Update RefreshViewHandler.Windows.cs

* Update Issue31375.cs

* Update Issue31375.cs
github-actions bot pushed a commit that referenced this pull request Sep 18, 2025
…eshing is set to True (#31471)

* fix added

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* test case added

* Update RefreshViewHandler.Windows.cs

* Update Issue31375.cs

* Update Issue31375.cs
github-actions bot pushed a commit that referenced this pull request Sep 23, 2025
…eshing is set to True (#31471)

* fix added

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* test case added

* Update RefreshViewHandler.Windows.cs

* Update Issue31375.cs

* Update Issue31375.cs
github-actions bot pushed a commit that referenced this pull request Sep 23, 2025
…eshing is set to True (#31471)

* fix added

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* Update RefreshViewHandler.Windows.cs

* test case added

* Update RefreshViewHandler.Windows.cs

* Update Issue31375.cs

* Update Issue31375.cs
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-refreshview community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Windows] RefreshView Command executes multiple times when IsRefreshing is set to True

3 participants