Code Monkey home page Code Monkey logo

Comments (7)

zhanziyang avatar zhanziyang commented on May 28, 2024

Weird... Are you sure it is caused by vue-croppa? Let me have a look.

from vue-croppa.

luiztsmelo avatar luiztsmelo commented on May 28, 2024

Yeah, I'm sure. I just added in my nuxt project and there is nothing related to audio.

from vue-croppa.

zhanziyang avatar zhanziyang commented on May 28, 2024

@luiztsmelo What version are you using and what is value of the accept prop?

from vue-croppa.

luiztsmelo avatar luiztsmelo commented on May 28, 2024

Oh, I thought the default value of accept prop was 'image/*'. It's fine now. Thanks

from vue-croppa.

zhanziyang avatar zhanziyang commented on May 28, 2024

Oh yeah, the default value of accept has been removed since v1.0.0 because 'image/*' makes file-chooser window pops up after a small delay (on webkit browsers on PC). So I don't know what is the best default value for this attribute [shrugged].

from vue-croppa.

luiztsmelo avatar luiztsmelo commented on May 28, 2024

Got it. Well, it's a difficult decision. One more question @zhanziyang: There is a way to put a loading feedback on croppa canvas?

from vue-croppa.

zhanziyang avatar zhanziyang commented on May 28, 2024

There is no built-in loading feature. But you can make your own by putting <croppa> and <loading> in the same wrapper element. And dynamically show/hide the loading with the help of some provided events (file-choose, draw).

demo: https://codepen.io/zhanziyang/pen/rGXJRy

Built-in loading will be added in the next release : )

from vue-croppa.

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.