GithubHelp home page GithubHelp logo

Comments (6)

saarmstrong avatar saarmstrong commented on April 19, 2024

We need to swap the selected image / primary image on mouseover:

http://jsfiddle.net/saarmstrong/j4R37/2/

from reaction.

saarmstrong avatar saarmstrong commented on April 19, 2024

15dfc6aa8e7b21bbfd59a2b191fa754083b9e32a Fixes #43: made product detail image gallery work better

from reaction.

aaronjudd avatar aaronjudd commented on April 19, 2024

Looks like this broke drag and drop re-ordering of images when user is an admin. When the normal user just hovers off image gallery some funkiness is happening where the gallery shows multiple images that aren't really the images that are supposed to be there as well. In the screenshots below there should be 5 unique images.

screenshot 2014-05-08 09 39 21
screenshot 2014-05-08 09 39 15

from reaction.

saarmstrong avatar saarmstrong commented on April 19, 2024
  • added img element to contain selected image and no longer fade out selected image
  • fixed sorting of images in the gallery when using drag and drop

from reaction.

aaronjudd avatar aaronjudd commented on April 19, 2024

screenshot 2014-05-11 08 02 09

Drag and drop seems to be working, but the primary image display doesn't always work.

from reaction.

saarmstrong avatar saarmstrong commented on April 19, 2024

Updated the JS to swap images on mouseenter. Admin reordering will reactively update end user images, but complete ordering will only be displayed on page refresh.

from reaction.

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.