Skip to content

Pan gesture: fix XAML example to use Grid and dotnet_bot.png#3270

Merged
jfversluis merged 1 commit intodotnet:mainfrom
sheiksyedm:fix/pan-gesture-totalxy-platform-semantics-3251
Mar 31, 2026
Merged

Pan gesture: fix XAML example to use Grid and dotnet_bot.png#3270
jfversluis merged 1 commit intodotnet:mainfrom
sheiksyedm:fix/pan-gesture-totalxy-platform-semantics-3251

Conversation

@sheiksyedm
Copy link
Copy Markdown
Contributor

  • Replace AbsoluteLayout with Grid in the PanContainer XAML example
  • Replace monkey.jpg (with fixed WidthRequest/HeightRequest) with dotnet_bot.png
  • Update ms.date to 03/24/2026

Fixes #3251

- Replace AbsoluteLayout with Grid in the PanContainer XAML example
- Replace monkey.jpg (with fixed WidthRequest/HeightRequest) with dotnet_bot.png
- Update ms.date to 03/24/2026

Fixes dotnet#3251

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 8634c31:

✅ Validation status: passed

File Status Preview URL Details
docs/fundamentals/gestures/pan.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

Copy link
Copy Markdown
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.

I don't see how this addresses the linked issue?

@sheiksyedm
Copy link
Copy Markdown
Contributor Author

sheiksyedm commented Mar 25, 2026

#3251

@jfversluis The linked doc issue related to "android is not returning the cumulative offset from the gesture start position" have been addressed in the latest MAUI version through PR #21547. Android behavior is now consistent with the other platforms, so there is no need to address the linked issue.

While verifying the sample with the documented code, I noticed that it was not working correctly. As a result, I updated the sample with a working code in this PR

@sheiksyedm sheiksyedm requested a review from jfversluis March 25, 2026 12:38
@jfversluis jfversluis merged commit fc396d1 into dotnet:main Mar 31, 2026
6 checks passed
jfversluis added a commit that referenced this pull request Apr 1, 2026
* Update deprecated ms.topic values to concept-article (#3271)

* Pan gesture: fix XAML example to use Grid and dotnet_bot.png (#3270)

- Replace AbsoluteLayout with Grid in the PanContainer XAML example
- Replace monkey.jpg (with fixed WidthRequest/HeightRequest) with dotnet_bot.png
- Update ms.date to 03/24/2026

Fixes #3251

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Bump DavidAnson/markdownlint-cli2-action from 22.0.0 to 23.0.0 (#3274)

Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 22.0.0 to 23.0.0.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](DavidAnson/markdownlint-cli2-action@07035fd...ce4853d)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-version: 23.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump step-security/harden-runner from 2.16.0 to 2.16.1 (#3273)

Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@fa2e9d6...fe10465)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.16.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wade Pickett <wpickett@microsoft.com>
Co-authored-by: Sheik Syed <sheiksyedm@syncfusion.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pan gesture: document that TotalX/TotalY semantics differ between iOS (cumulative) and Android (incremental)

2 participants