Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

plot gets drawn twice on android using jquery mobile #839

Closed
CodeRect opened this Issue · 4 comments

3 participants

@CodeRect

description:

the plot gets drawn twice on android using jquery mobile.

screenshot:

http://picpaste.com/8cGvwICY.png
(mirror: http://www.imagebanana.com/view/r1kokasd/8cGvwICY.png)

jsfiddle:

http://jsfiddle.net/59HkW/2/
(i had to use 2 pages so that pagecreate and pageshow are being triggered)

device:

nexus s
(running android 4.1.1)

@jamesinc
@CodeRect

just tried it in several emulators - just for the record.

running 1.6 - api level 4

no problem - looks just as expected.

http://picpaste.com/yCqn9gBc.png
(mirror: http://www.imagebanana.com/view/v2puyk0x/yCqn9gBc.png)

running 3.2 - api level 13

no problem - looks just as expected.

http://picpaste.com/7oLuz1df.png
(mirror: http://www.imagebanana.com/view/n68ov0f3/7oLuz1df.png)

running 4.1 - api level 16

still drawn twice, but at the same place and only the first plot.

http://picpaste.com/cLpmCx47.png
(mirror: http://www.imagebanana.com/view/eftqm1ik/cLpmCx47.png)

@CodeRect

related issue: http://code.google.com/p/android/issues/detail?id=35474

sadly, the recommended fix does not work - maybe because flot uses multiple canvas-elements.

update

i finally achived to solve this bug by changing the overflow-attribute of each and every parent-element of the canvas. therefore it is not a flot related bug.

@CodeRect CodeRect closed this
@martijnboekema

I tried changing the overflow attribute but I still have a duplicate plot which I can't seem to get rid of..
Image 1: postimg.org/image/dj1vogy7l/ (graph)
Image 2: postimg.org/image/ewtijrxgx/ (graph with plot hidden, and duplicate plot visible)
Image 3: postimg.org/image/tvbxe7cj5/ (an accidental offset which makes the second unwanted plot visible to the user).
I've been stuck on this for weeks..
Any help would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.