pan is not working in iPhone
See original GitHub issueviewer.addHandler('canvas-drag', function(e){
Toast("canvas drag");
if( e.originalEvent.pointerType !="touch" || !isDrawingMode) return;
console.log('drag');
console.log(e);
dragAmount++;
if( true ){
//console.log('panning');
var x = e.originalEvent.clientX - startx;
var y = e.originalEvent.clientY - starty;
var point = new OpenSeadragon.Point(-x, -y);
var panBy = viewer.viewport.deltaPointsFromPixels(point);
viewer.viewport.panBy(panBy);
startx = e.originalEvent.clientX;
starty = e.originalEvent.clientY;
}
});
this code is working in android phone but not working on iPhone. Is there something missing or wrong ?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Panning not working properly - Apple Community
The "getting softer as you pan" is the Pan LAw in Logic at work (panning hard left or hard right lowers the volume...
Read more >How to Fix the iOS Device Detection Problem - PanFone
This article gives you the method to fix iOS device detection problem. What you need to do if PanFone fails to recognize your...
Read more >iPhone tethering not working via bluetooth - Ask Different
4 Answers 4 · On your iPhone, go to Settings -> General -> Reset and choose Reset Network Settings . · The iPhone...
Read more >pan not working iOS, works on everything else. #1054 - GitHub
We checked Android and Desktop, both work fine. But on iOS products nothing happens when a user tries to swipe(pan). Any ideas? The...
Read more >Troubleshoot Panopto For IOS
Welcome to Panopto Support · Welcome to the Panopto Forums · Panopto Documentation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks. It works now.
I have tried with OSD position
position
property and it didn’t work. I will trytouches
array.