Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

eg.animate unit test is broken on Samsung Galaxy S2 (android 2.3) #10

@sculove

Description

@sculove

@happyhj commented on Fri Feb 12 2016

"Relative animate Test - +=rotate(-30deg) translate(10px, 50%)" is broken.
It seems like last call back function is not executing.


@jongmoon commented on Fri Mar 25 2016

I can find the pattern when it reproduce this issue. on Galaxy S2 (Android 2.3)

If current element's transform style has combination of matrix and exponential number. this issue occurs

for example, current element has

<div style="transform:matrix(-1.11022e-16, -1, 1, -1.11022e-16, 0, 0)"></div>

This element can not be transformed relatively

Below code have no UI change.
$el.css("transform":"matrix(-1.11022e-16, -1, 1, -1.11022e-16, 0, 0) translateX(10px)");

Solution?
Galaxy S2& Android 2.3 ==> Make exponetial number to normal number.

for exmple
transform:matrix(-0.00000000000000011102, -1, 1, -0.00000000000000011102, 0, 0)

But... I think it looks bad. Do we must support this?


@jongmoon commented on Thu Apr 21 2016

Resolved by #166


@jongmoon commented on Tue Jul 18 2017

It was not resolved by #166

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions