You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SwipeView] SwipeItem tap does not work with Image WidthRequest when configured in code-behind #39166
The SwipeItem tap gesture does not work as expected when a SwipeView is created in code-behind, uses Reveal behavior, and contains an Image with WidthRequest set.
When the SwipeView is created in code-behind without setting WidthRequest, tapping the SwipeItem invokes the corresponding event and closes the SwipeView as expected. However, when WidthRequest is set on the Image, the SwipeItem tap does not invoke the event.
This issue is observed when the SwipeView and its content are configured in code-behind.
Note: The issue is not reproduced when the same scenario is implemented using XAML.
Output Screenshot
Expected output
Actual output
Screen.Recording.2026-10-06.at.12.55.03.PM.mov
Screen.Recording.2026-10-06.at.1.17.18.PM.mov
Steps to Reproduce
Create a SwipeView in code-behind.
Set the SwipeView behavior to Reveal.
Add an Image as the SwipeView content.
Set a WidthRequest for the Image.
Add a SwipeItem to the SwipeView.
Handle the SwipeItem invoked event.
Run the application.
Swipe to open the SwipeView.
Tap the SwipeItem.
Observe the behavior.
Actual Behavior
When the Image has a WidthRequest set and the SwipeView is created in code-behind, tapping the SwipeItem does not invoke the expected event.
Expected Behavior
Tapping the SwipeItem should invoke its corresponding event and close the SwipeView as expected, regardless of whether the SwipeView is created in code-behind or XAML.
This issue has been validated in Visual Studio Code 1.140.0 with .NET MAUI versions 10.0.0, 10.0.101 and 10.0.110. It can be reproduced on Android platform.
Verdict: Insufficient evidence — No introducing change is supported; the available reports establish Android failures, not a working-to-failing transition.
Evidence: bounded snapshot; degraded source/history coverage — Frozen source/history covers Windows, not the affected Android implementation; the additional Android history request was policy-filtered. No further history requests were attempted.
🔎 Regression Analysis — click to expand
The reported distinction is specific: code-behind plus an Image WidthRequest prevents a revealed SwipeItem from invoking, while omitting that width or using XAML works. These are configuration comparisons, not release boundaries.
📊 Version boundary
Reported failing MAUI 10.0.110 resolves to 6c379bf. No working release was supplied; the form explicitly says this is something new rather than a known regression.
A subsequent validation also reports Android failures on 10.0.0 and 10.0.101. That argues against an introduction exclusive to 10.0.110, but does not establish the first bad release. Visual Studio Code 1.140.0 is editor information, not a MAUI boundary. Android OS/API level is unspecified.
🧬 Candidate changes
No defensible candidate. The inspected frozen Windows implementation uses WinUI SwipeControl; its changes do not explain Android hit-testing. Its history is also partially capped. Android source behavior and shipped differences could not be established. The existing expected/actual videos in the issue were inventoried, not analyzed. No reproduction or bisect was executed.
🧭 Follow-up — actions and refresh
Next action: Supply a minimal inline code-behind example and equivalent working XAML, including width, parent layout, item setup order and Android OS/API. Compare that identical case on the same device with an earlier MAUI release: record an exact passing package version if one exists. This distinguishes a release regression from configuration-dependent behavior already present in 10.0.0; the already-reported failing versions need not be supplied again.
Maintainers: comment /issue trace-regression to refresh this report.
Activity
Ahamed-Ali commentedon Oct 6, 2026
This issue has been validated in Visual Studio Code 1.140.0 with .NET MAUI versions 10.0.0, 10.0.101 and 10.0.110. It can be reproduced on Android platform.
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
kubaflo commentedon Oct 7, 2026
github-actions commentedon Oct 7, 2026
Regression Trace
Verdict: Insufficient evidence — No introducing change is supported; the available reports establish Android failures, not a working-to-failing transition.
Evidence: bounded snapshot; degraded source/history coverage — Frozen source/history covers Windows, not the affected Android implementation; the additional Android history request was policy-filtered. No further history requests were attempted.
🔎 Regression Analysis — click to expand
The reported distinction is specific: code-behind plus an Image
WidthRequestprevents a revealed SwipeItem from invoking, while omitting that width or using XAML works. These are configuration comparisons, not release boundaries.📊 Version boundary
Reported failing MAUI 10.0.110 resolves to 6c379bf. No working release was supplied; the form explicitly says this is something new rather than a known regression.
A subsequent validation also reports Android failures on 10.0.0 and 10.0.101. That argues against an introduction exclusive to 10.0.110, but does not establish the first bad release. Visual Studio Code 1.140.0 is editor information, not a MAUI boundary. Android OS/API level is unspecified.
🧬 Candidate changes
No defensible candidate. The inspected frozen Windows implementation uses WinUI SwipeControl; its changes do not explain Android hit-testing. Its history is also partially capped. Android source behavior and shipped differences could not be established. The existing expected/actual videos in the issue were inventoried, not analyzed. No reproduction or bisect was executed.
🧭 Follow-up — actions and refresh
Next action: Supply a minimal inline code-behind example and equivalent working XAML, including width, parent layout, item setup order and Android OS/API. Compare that identical case on the same device with an earlier MAUI release: record an exact passing package version if one exists. This distinguishes a release regression from configuration-dependent behavior already present in 10.0.0; the already-reported failing versions need not be supplied again.
Improve regression-trace evidence collection (#39236)
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Android] Fix SwipeItem tap with fixed-width SwipeView content (#39314)
kubaflo commentedon Oct 18, 2026
Fixed here #39314
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Android] Fix SwipeItem tap with fixed-width SwipeView content (#39314)
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Android] Fix SwipeItem tap with fixed-width SwipeView content (#39314)
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Android] Fix SwipeItem tap with fixed-width SwipeView content (#39314)
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Android] Fix SwipeItem tap with fixed-width SwipeView content (#39314)
[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Contr…
[Android] Fix SwipeItem tap with fixed-width SwipeView content (#39314)