Git Product home page Git Product logo

Comments (8)

robinweser avatar robinweser commented on May 24, 2024

It looks like the problem is caused by the following , 100000ms !important as it misses a property I guess. The second example (Safari 9.1) seems to have the opacity property which is somehow missing above. I act on the assumption that this is not caused by the prefixer as it should return the same values independent of which browser is used.

from aphrodite.

xymostech avatar xymostech commented on May 24, 2024

@rofrischmann You're right, that is very strange! @crm416 can you paste the aphrodite code you used to generate those styles?

from aphrodite.

kentcdodds avatar kentcdodds commented on May 24, 2024

If we could merge this then people could paste their code in the tool and share their jsbin clone :-)

from aphrodite.

kentcdodds avatar kentcdodds commented on May 24, 2024

😅 nevermind. They'd have to update the bin's initial code (which would be cool too).

Maybe I could enhance the tool to update the URL with the code...

from aphrodite.

kentcdodds avatar kentcdodds commented on May 24, 2024

The tool's been updated, maybe it'll be helpful :-) https://output.jsbin.com/qoseye

from aphrodite.

charliermarsh avatar charliermarsh commented on May 24, 2024

Thanks for your response @rofrischmann! Apologies, I must've been testing with a dirty branch when I made that screenshot. Here are the accurate styles on mobile Safari:

screen shot 2016-05-04 at 11 22 05 am

(Notice that the opacity property is back.)

As an aside, this is also recognized, so I don't think the stray duration on the end is problematic:

screen shot 2016-05-04 at 11 29 59 am

In particular, that style adds an extra 500ms / all transition:

screen shot 2016-05-04 at 11 30 08 am

For completeness, here's the Aphrodite snippet:

const echoAnimationMs = 100000;
const echoAnimationOffsetY = 50;

const styles = StyleSheet.create({
    enter: {
        opacity: 1,
        transform: 'translateY(0)',
    },

    enterActive: {
        opacity: 0,
        transform: `translateY(-${echoAnimationOffsetY}px)`,
        transition: `transform ${echoAnimationMs}ms, `
            + `opacity ${echoAnimationMs}ms`,
    },
});

from aphrodite.

lencioni avatar lencioni commented on May 24, 2024

@crm416 can you try 1.2.0 and let us know if this is still an issue?

from aphrodite.

lencioni avatar lencioni commented on May 24, 2024

Closing this as stale. Please re-open this is still an issue!

from aphrodite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.