GithubHelp home page GithubHelp logo

Comments (3)

markRosenvinge avatar markRosenvinge commented on June 15, 2024 1

No problem, I do like your package so a fix would be nice :)

The way I see it, the check to see if v-model change is done programatically or by the user, do not need the userInteraction. Checking if the element this.anElement is in sync with newValue will provide the same result. If they are in sync it means the user provided the input. If they are not in sync, the change happend programatically.

Relying on touch events to set userInteraction could be an option, but I've had no luck with that approach. Handling of touch events is done very differently a cross devices.

I look forward to see your solution. Let me know if I could be at help testing it.

from vue-autonumeric.

AlexandreBonneau avatar AlexandreBonneau commented on June 15, 2024

Thank you for reporting this.

I'll check that tomorrow, but from the top of my head, userInteraction is needed in order to detect if a v-model change is done programatically, so this shouldn't be removed otherwise it's probable there will be a loss in functionality.

The easiest fix would be to add the touch* events handlers. I'll see later!

from vue-autonumeric.

AlexandreBonneau avatar AlexandreBonneau commented on June 15, 2024

Thank you again for your proposition @markRosenvinge, it works great and it's much simpler that way :)

It's now live in v1.2.2.
Please try on Android and report here if there are still any problems!

from vue-autonumeric.

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.