Coder Social home page Coder Social logo

Comments (2)

amansinghbais avatar amansinghbais commented on August 14, 2024

Here in this issue, we are using a barcode reader as a keyboard input for the ion-input we have created for scanning product SKU. Now the barcode reader works such as, it takes the value of the barcode as a keyboard input in the ion-input and then hit the enter event triggering to scan item.

The logic currently we have appends the new SKU with the old scanned SKU present in the ion-input. To avoid the following scenario, i have identified following way:--

  • We should clear the scanned SKU in the ion-input once succesfully scanning item as we are already showing it in the toast message. And this way whenever user goes to scan an barcode he have a empty ion-input preventing the appending of new SKU with the old SKU.
  • There is an issue i found in it, that whenever we scan using barcode reader it renders the scanned value in the ion-input and then the enter event is triggered. And the all handling can only be done once the enter event is triggered making the UI to have a flickering effect.
  • Such that when we scan an item, it displays the SKU for few milliseconds and then clears the ion-input on scanning.

from receiving.

Adameddy26 avatar Adameddy26 commented on August 14, 2024

Issue verified and working fine in release v2.26.0. Hence, closing it.

from receiving.

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.