Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature not appearing on iPhone #223

Open
divyang-dv opened this issue Apr 12, 2022 · 15 comments
Open

Signature not appearing on iPhone #223

divyang-dv opened this issue Apr 12, 2022 · 15 comments

Comments

@divyang-dv
Copy link

The Signature on an iPhone disappears as soon as you sign it. It works if you are using Chrome but doesn't work on Safari browser.

@ghost
Copy link

ghost commented Oct 22, 2022

Hi,
Did you solve this issue?

@mockdeep
Copy link
Collaborator

@lujain235 we haven't had any complaints from our users about this. Are you seeing issues? I'm not sure I'll have time to look into it, but if you want to make a PR I'll be happy to take a look.

@ghost
Copy link

ghost commented Oct 25, 2022

@mockdeep thanks for reply.
yes we are facing this issue on iPhone (ios 16)
Here is a video of the issue
I thought it might be a resizing issue so i stopped the canvas resize code but the issue wasn't solved.
Can you please take a look and advise.
thanks.

@mockdeep
Copy link
Collaborator

@lujain235 I'm unfortunately not at all familiar with the code in this repo, so I can't offer much. I'll try to set aside some time to look into it some more and see if I can understand what is happening.

@ghost
Copy link

ghost commented Oct 26, 2022

Hi @mockdeep
The issue has been resolved by setting drawBezierCurves = false.

@mockdeep
Copy link
Collaborator

@lujain235 you must not be using this library. It doesn't have any references to drawBezierCurves.

@donkitchen
Copy link

Hi @mockdeep The issue has been resolved by setting drawBezierCurves = false.

Where did you set this? I'm having the same issues in our app.

@mockdeep
Copy link
Collaborator

mockdeep commented Nov 3, 2022

@donkitchen @lujain235 where are you pulling the signature pad library from?

@ghost
Copy link

ghost commented Nov 3, 2022

@donkitchen @mockdeep Sorry for the conflicts, it turns out that our developers used another code for Bezier Curves and merged it with this library, and that was the cause of the issue, when i stopped it the library works. (when i added my comment i didn't know that this code had been added to the library by our team)

@donkitchen
Copy link

@donkitchen @lujain235 where are you pulling the signature pad library from?

I downloaded the js library from here. I am not, however, using the styles that you guys have for the examples.

Since the example linked in the repo works on my device, I suspect it may be a CSS/style thing, which I am going to verify today. I updated my code to use the latest JS library and that didn't make a difference, so the styles are my next guess.

I don't really want to focus on the ones that change the look, more anything that may be functional, which is why I'm going to try the .pad class first.

@donkitchen
Copy link

I believe the problem seems to be my use case of having two signature elements on the same page. I didn't see a demo of that so I can't know if that actually does still work now or not.

I've been trying to troubleshoot by making each class unique and passing those element names in as options, but not having any luck yet.

Is anybody else using two signatures on one page? If they are, is it still working on IOS16?

@mockdeep
Copy link
Collaborator

We display a lot of signatures on the same page and haven't had any reports of it not working for people on IOS. Are you able to provide a code sample the reproduces the issue?

@donkitchen
Copy link

Yes, I'll work on that -- if you are willing, it may be easier for me to give you instructions on how you can access my stuff, with a brief video on how you would test it. Since it's all HTML, CSS and JS you would easily be able to see all of the pieces working together.

@mockdeep
Copy link
Collaborator

Sure, that works too.

@donkitchen
Copy link

Sure, that works too.

Sent you an email @mockdeep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants