Giter VIP home page Giter VIP logo

v-gallery's Introduction

Hi there

I am TerryZ, a game player who writes code

Github metrics

Metrics

Components

Vue 3 series

v-pagev-dropdownv-regionv-selectpagev-dialogs

Documentation for the Vue 3 series component: docs-vue3

Vue 2 series

Name Version
v-dropdown npm (custom registry)
v-region npm (custom registry)
v-selectpage npm (custom registry)
v-selectmenu npm version
v-page npm (custom registry)
v-suggest npm version
v-dialogs npm (custom registry)
v-tablegrid npm version
v-uploader npm version
v-gallery npm version
v-playback npm version

Documentation for the Vue 2 series component: docs-vue

jQuery series Plugins

SelectPageSelectMenubDialogbPagebTabs

Activity charts

Metrics

v-gallery's People

Contributors

terryz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

v-gallery's Issues

Chrome 80 tab crashes when using v-gallery

Chrome 80 is crashing for some reason when interacting with v-gallery along with a few other libraries (Vue, VueRouter, and VueFilepond).

  • Not sure exactly which library is causing the crash, but it occurs immediately after interacting with v-gallery. I cannot reproduce it without all four libraries in the project together. This code represents a minimal reproducible example.

  • I've not been able to reproduce the bug in Chrome Canary 81, Firefox 74, or Safari 13.

  • Also reproduces in Incognito Mode without any extensions enabled

screencast_lowres

Steps to reproduce

  1. Install project from https://github.com/tony19-sandbox/chrome-crash-demo:
npm install
  1. Start development web server:
npm run serve
  1. Open http://localhost:8080/demo in Chrome 80

  2. Click image to open lightbox (via v-gallery)

  3. Close lightbox.

  4. Click image again. Observe Chrome tab crashes (Aw, Snap!)

Environment

  • macOS Catalina 10.15.3
  • Chrome Version 80.0.3987.149 (Official Build) (64-bit)
  • MacBook Pro 15", 2016

Lightbox prev, next and close symbols CSS

Please look at this click in the menu bar on "Performance", scroll a little bit down and click on one of the graphs.

The prev, next and close symbols are not shown. When I use the developer tools I can switch off color: inherit and they are back.
Maybe it has a relation with my usage of Bootstrap4?

How can I fix that?

v-gallery vuepress

using v-gallery in vue press

v-gallery works satis during dev
Below error during build

ReferenceError: document is not defined at n (node_modules/v-gallery/dist/v-gallery.js:1:2026) at o (node_modules/v-gallery/dist/v-gallery.js:1:1856) at t.exports (node_modules/v-gallery/dist/v-gallery.js:1:3540) at Object.<anonymous> (node_modules/v-gallery/dist/v-gallery.js:1:14711) at e (node_modules/v-gallery/dist/v-gallery.js:1:348) at Object.<anonymous> (node_modules/v-gallery/dist/v-gallery.js:1:3903) at e (node_modules/v-gallery/dist/v-gallery.js:1:348) at Object.<anonymous> (node_modules/v-gallery/dist/v-gallery.js:1:11594) at e (node_modules/v-gallery/dist/v-gallery.js:1:348) at Object.<anonymous> (node_modules/v-gallery/dist/v-gallery.js:1:11471) at e (node_modules/v-gallery/dist/v-gallery.js:1:348) at server-bundle.js:6537:566

  • any suggestions ? , it works on the v-gallery documentation site using vuepres

Request

if you could point to the original docs for the v-gallery documentation site on git hub that would be highly helpful

Uncaught TypeError: Cannot read property 'style' of undefined while using Carousel

While using v-gallery, the gallery seems to be working fine. However, when I change the type to carousel, I get the following error:

Uncaught TypeError: Cannot read property 'style' of undefined while using Carousel

This error appears seconds after rendering.

Down here you can see the code I'm working with. The list is populated via the props on the component. They are working fine with the gallery type.

<script>
    import collect from 'collect.js';

    export default {
        props: [
            'jsonList',
            'apiUrl',
        ],

        data(){
            return {
                list: null,
            }   
        },

        mounted() {
            let parsedJSON = collect(JSON.parse(this.jsonList));

            this.list = parsedJSON.map((image) => {
                return {
                    title: image.custom_properties.alt,
                    url: this.apiUrl + image.id + "/" + image.file_name
                }
            }).toArray();
        }
    };
</script>

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.