keirbowden / sigcapapp

Signature Capture Samples
MIT License
9 stars 5 forks source link

Stop the screen scrolling when signing #22

Closed SFWannabe closed 4 years ago

SFWannabe commented 4 years ago

Hello, not sure if this is fixed, but i use a surface pro... when i use the pen to sign, nothing signs becasue the screen just scrolls with the pen... can you advise how to fix please?

Working fine on the mobile phone...

keirbowden commented 4 years ago

Hi,

Surface Pro isn't a tested platform for us right now, but it's on my list as I recently bought one!

Also, which browser are you using - we currently don't test against (and therefore expect to support) Edge.

SFWannabe commented 4 years ago

Hi,

I have tried Edge, Chrome, IE… when I put the pen on the screen, the pen attempts to scroll the form. If I hold the button on the surface pro pen – this does allow the signature to write…

Best Regards,

John Wealsby

From: Keir Bowden notifications@github.com Sent: 03 August 2020 08:24 To: keirbowden/sigcapapp sigcapapp@noreply.github.com Cc: John Wealsby jwealsby@sfengineering.co.uk; Author author@noreply.github.com Subject: Re: [keirbowden/sigcapapp] Stop the screen scrolling when signing (#22)

Hi,

Surface Pro isn't a tested platform for us right now, but it's on my list as I recently bought one!

Also, which browser are you using - we currently don't test against (and therefore expect to support) Edge.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/keirbowden/sigcapapp/issues/22#issuecomment-667854874, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3PUWZW2DFTAY7AZZZW7ETR6ZQZ5ANCNFSM4PK7EUHQ.

keirbowden commented 4 years ago

Thanks for the info - I'm hoping to have a look at the Surface Pro tomorrow.

keirbowden commented 4 years ago

Hi John,

So the underlying issue here is that the Pro "identifies" as a desktop to the lightning experience, but also behaves as a tablet with touch input. The touch input was being ignored and picked up by the outer Salesforce container, hence scrolling the screen.

I've pushed a new version (2.2) on the app exchange to add Surface Pro support at : https://appexchange.salesforce.com/listingDetail?listingId=a0N30000000q5XOEAY

I've tested on my device using the trackpad in the keyboard cover, touching the screen and with a Microsoft certified pen, on Chrome and Edge Chromium, and I can sign as expected in all cases.

Can you give this a try and let me know if you have any further issues.

Cheers

--

Keir

SFWannabe commented 4 years ago

Hi Keir,

Sounds like the Pro is working well for you…

I tested the update and all is working as expected – great thankyou. I have the Pro 4 and tested with Chrome and MS pen…

Should the signature be retained in the captured signature place holder? It does while I stay in the object and move to details tab, related tab etc… But if I refresh the page, the signature tab is blank again.

My ultimate goal is to get the signature to a PDF document… I’m getting there…

But yes, its working much better – thankyou.

Best Regards,

John Wealsby

From: Keir Bowden notifications@github.com Sent: 08 August 2020 16:20 To: keirbowden/sigcapapp sigcapapp@noreply.github.com Cc: John Wealsby jwealsby@sfengineering.co.uk; Author author@noreply.github.com Subject: Re: [keirbowden/sigcapapp] Stop the screen scrolling when signing (#22)

Hi John,

So the underlying issue here is that the Pro "identifies" as a desktop to the lightning experience, but also behaves as a tablet with touch input. The touch input was being ignored and picked up by the outer Salesforce container, hence scrolling the screen.

I've pushed a new version (2.2) on the app exchange to add Surface Pro support at : https://appexchange.salesforce.com/listingDetail?listingId=a0N30000000q5XOEAY

I've tested on my device using the trackpad in the keyboard cover, touching the screen and with a Microsoft certified pen, on Chrome and Edge Chromium, and I can sign as expected in all cases.

Can you give this a try and let me know if you have any further issues.

Cheers

--

Keir

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/keirbowden/sigcapapp/issues/22#issuecomment-670940741, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI3PUW624IQY2A3P4EDJBY3R7VUI5ANCNFSM4PK7EUHQ.

keirbowden commented 4 years ago

The page refresh is by design - the assumption is that you want to overwrite the previous signature if you go to the same page.