brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
693 stars 530 forks source link

Signatures displayed twice Android HTML5 WebApp on Galaxy Tab 3 #60

Closed w4hns1nn closed 8 years ago

w4hns1nn commented 10 years ago

i've got a strange behavior in the jQuery plugin jSignature. I'm using it in a Android HTML5 WebApp. If i enter a signature it's displayed twice. This behavior only appears on Galaxy Tab 3, it's working on all other Android devices and in all Browsers.

screenshot_2014-06-20-09-12-39

The code i use is quite simple:

var fs = $('<fieldset/>', {}).appendTo(root);
var div = $('<div/>', {
            id: field.attributes.FieldId,
            name: property.attributes.GenericColumnName,
        }).appendTo(fs);

        div.jSignature({
            'background-color': 'transparent',
            'decor-color': 'transparent',
        });
        div.css('border-style', 'dotted');
        div.css('border-color', 'black');

Has anyone a Idea? I urgent need it for a customer.

Thank you

brinley commented 10 years ago

Perhaps you are experience the same issue as https://code.google.com/p/android/issues/detail?id=35474

w4hns1nn commented 10 years ago

Hello,

i thank you for the fast answer. It was the same Problem, the solution is: Changing the android app manifest and set:

android:hardwareAccelerated="false“

Thank you very much!

Von: Brinley Ang [mailto:notifications@github.com] Gesendet: Montag, 23. Juni 2014 08:39 An: brinley/jSignature Cc: Matthias Rieger Betreff: Re: [jSignature] Signatures displayed twice on Galaxy Tab 3 (#60)

Perhaps you are experience the same issue as https://code.google.com/p/android/issues/detail?id=35474

— Reply to this email directly or view it on GitHubhttps://github.com/brinley/jSignature/issues/60#issuecomment-46810589.