Select to view content in your preferred language

MapView ignores first left-drag pan after right-click

585
2
Jump to solution
03-02-2026 07:18 AM
Labels (3)
TimScheiber
Occasional Contributor

Hi, 

I am adding a context menu to my WinUI MapView and noticed a weird behaviour:

After every right-click on the map, the next left-click-and-drag does not pan the map. Panning only works on the second left-click-and-drag.

The next left-click-drag is only ignored if I right-click-tap the map, not if I right-click-drag the map. Other events like GeoViewTapped are always fired as expected.

The issue can be reproduced in the Sample App (ArcGIS Maps SDK for .NET Samples (WinUI))
Steps to reproduce:
1. Right-click on the map (press and release)
2. Left-click and drag to pan
3. The first drag does not pan
4. Repeat left-click and drag => panning works.

I have attached a GIF demonstrating the issue (blue = right-click, yellow = left-click and hold).

left_drag_not_dragging.gif

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

Update: A fix has been made, and will be available in the next release. Thank you for reporting this.

View solution in original post

2 Replies
dotMorten_esri
Esri Notable Contributor

Nice find. I'm able to repro the issue and logged an issue for us to investigate and fix.

0 Kudos
dotMorten_esri
Esri Notable Contributor

Update: A fix has been made, and will be available in the next release. Thank you for reporting this.