Coder Social home page Coder Social logo

ractive-transitions-slide's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ractive-transitions-slide's Issues

Built UMD version contains 'const'

Reproduce:

bower install ractive-transitions-slide
cd bower_components/ractive-transitions-slide
npm install

The es5-version file bower_components/ractive-transitions-slide/dist/ractive-transitions-slide.umd.js then still contains const declarations.

Question

Just a silly question @Rich-Harris is it possible to use/expand this plugin to achieve push right/left transition similar to this http://tympanus.net/Blueprints/SlidePushMenus/ (last two demos) it's been a bit tricky for me as both sections need to stay in the dom so I've been adding/removing classes which is a bit hacky I guess..

I'm using the same "hacky" approach to achieve stuff like this http://tympanus.net/Development/PageTransitions/ (borrowed the css from them) and two active "Ractives" which I dynamically build/teardown when animations are complete.

I see you got plenty of stuff on your plate so no rush to answer, I'm just thinking out loud here.

PS: thanks for making this node-compatible :)

Issue with nested slides

When this transition commits an animation, it seems to

  • measure the height
  • animate height from 0 to that height

That sounds great in theory, but when finished ("transitionEnd"), the transition should:

  • remove the overflow-y property
  • remove the inline height property

Otherwise, if you add / remove elements to the animated element, it won't adjust its inherent height for those new elements.

npm install issues

I was going to try to address issue #10, but npm install has some issues. Using npm install --dev just installs recursively, infinitely. Running npm install by itself yields this error:

Failed at the [email protected] prepublish script 'npm run build'.
npm ERR! This is most likely a problem with the ractive-transitions-slide package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run build

I noticed a lot of the dependencies were deprecated or unsupported, so that might have something to do with it. Seems strange that a simple JS file would have a such a long stack of dependencies, though.

Unable to install via bower

$ bower install ractive-transitions-slide --save
bower                        ENOTFOUND Package ractive-transitions-slide not found

I doubt you have published it yet. Any chance to do so asap?

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.