PhoneGap, Windows overflow divs won't scroll on drag, only on release - windows

I have four things: mobile site, iOS app, Android app, and Windows app.
The only time this occurs is on my Windows 10 Lumia PhoneGap app. (haven't tested other windows phones)
The divs with overflow-y do not scroll as you drag a finger up and down. Nothing happens until your finger comes off the device, then it throws the scrollbar. So technically it scrolls, but not in a way you'd expect. It makes it impossible to slowly scroll the page up.
Windows mobile site works as expected, the divs scroll in a controlled manner with the drag of your finger. Works same everywhere else too.
Anyone run into this sort of thing? I couldn't find any user-select, -ms-overflow*, or touchmove e.preventDefault() issues in the code.

Related

Xamarin Forms buttons stop receiving mouse clicks after clicking on SkiaSharp CanvasView on iOS

I use SkiaSharp canvas to draw the main game screen, and then there are various Xamarin.Forms Buttons around the UI. This all works fine on when used directly on iPhone or iPad using a finger. However, when I connect a mouse (e.g., through a MacBook or otherwise), the buttons start working with about 10% chance after mouse-clicking on the SkiaSharp canvas (and not receiving the mouse click events with 90% chance). The SkiaSharp canvas itself works just fine.
If I bring up the iOS app launch menu from the bottom (which probably somehow temporarily exists the mouse navigation on the app), the buttons start working again with the mouse. But if I click the SkiaSharp canvas again with the mouse, the buttons have a high chance of becoming disabled again. If I change to using a finger, all works fine (even if the mouse clicks were not being registered immediately before). However, mouse clicks are not being registered even after touching with a finger, so finger-touching does not reset the issue with the mouse (but bringing up the menu from the bottom does).
We found this bug by testing the iOS game on MacBook Pro (the iOS apps recently came available on the App Store) but the same issue persists also directly with an iPad / mouse combination. It seems to be some sort of an issue between using a mouse (on iPad or on MacBook Pro), SkiaSharp canvas and Xamarin.Forms buttons.
Does anyone know what the root cause of the problem is and what is the workaround?
Not an answer as such, but some more information about reproducing the issue: A simpler repro case may be this small project: https://github.com/jrc14/TraceMatching/ .
Don't worry too much about what it's doing, but note that you're mean to click in the grey Skia canvas in the middle to create 'targets' - and that after you've done that, mouse-clicks are getting lost.
If you run it on a Mac, you'll see that, though the clicks get lost after you've clicked on the Skia canvas, they will start being received again if you click on something else (another app, or the Mac background).
(further edit) - after some noodling around I did find a workaround. If, once you've finished processing the touch action on the SKCanvasView, you reset its EnableTouchEvents property (i.e. set it to false, then back to true again), it seems that the clicks don't get lost any more,

Ionic - Android: native scroll get stuck at some point

Due to performance issues I've change our wall scrolling to use native scrolling (overflow-scroll) instead of js scrolling. (The infinite scroll is working)
The performance is somewhat better but here is the weird thing:
In android, when I scroll down, it just doesn't scroll down after some scrolling (scroll back up is working). When I do something like opening and closing the statusbar of the physical/simulator phone, then it is working again.
I guess it something related to the element refresh of the android WebView, any idea?

windows 8 gestures on edge of screen

I have a desktop application running on windows 7 and 8. We implemented gestures using WM_GESTURE to support both windows. When running on windows 8 tablet, if user try to swipe, pan etc from of the edge i.e out side the visible screen, gestures do not work. When i logged the event(messages) application receives, it shows no gesture message.
On metro apps you see menu at bottom of screen when you swipe up from outside the screen area. I want similar functionality with my desktop application. Is this possible? Does desktop app has limitation or i am missing something? I searched over but cannot find a clear cut answer positive or negative.
Further info if of any help. It is a MFC application using both VC++ and C#. Minimum supported version of windows is 7.
One more thing. Our application runs in full screen with no task bar etc, like slide show.

Magic Mouse scrolling stops working after horizontal scrolling

Occasionally when I scroll horizontally in an app using the magic mouse, the current tab or page I'm scrolling on freezes and thereon in that app, scrolling is completely non-functional.
For example, if I'm using Safari and I scroll horizontally to go back to the previous link, the current tab freezes, stuck in the middle of the animation. If I close the frozen tab, the other tabs work fine, but I can't scroll vertically or horizontally in them. I have to scroll using the scrollbar. No other apps are affected and if I restart the affected application, everything goes back to normal and the mouse scrolling is functional again.
Has anybody else had this issue? Any ideas on how to fix this?
I was running Lion when this issue started. I updated to Mavericks hoping it would be fixed, but no luck. I'm currently running Mavericks GM on an iMac (latest model).
This is an issue after installing Mavericks. Go to System Preferences/General and click on Show scroll bars: Check "Always". Hope this helps.

Using a viewbox in PanningLayer

I am developing a panorama app for windows phone 7. I have a viewbox, which I want to stretch throughout the PanningLayer of the panorama app. I have removed the PanningTitleLayer. Everything works fine but there is a problem. When I run the app in the emulator, the viewbox is shown partially, you have to swipe it to see the hidden part of the viewbox. When I swipe the viewbox, it slides completely until it is back to the beginning. What I want is that when I swipe the viewbox, it should slide partially and stop, so that a user can see that part of the viewbox which is hidden. How do I do it?

Resources