Code Monkey home page Code Monkey logo

ohteepee's People

Contributors

ankur2136 avatar felix-kariuki avatar ilyasipek avatar mkowol-n avatar tarikyasar 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  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

ohteepee's Issues

Otp View Typing Response Slow

The library exhibits a delay in character rendering during rapid typing, occasionally resulting in skipped characters. This behavior impacts user experience, particularly during fast-paced input sessions.

Update current and focussed cell if input is provided

Let's say I have the following code

    var otpValue: String by remember { mutableStateOf("1234") }
    
     OhTeePeeInput(
         value = otpValue,
         autoFocusByDefault = true
      ....
    )

OTP value is being populated using GMS service to read SMS from device.
Initial value would be Empty but the latest value could be 1234 provided automatically.
In this case, the focus should be

  1. Either removed. Active cell should be disabled.
  2. Moved to the last cell.

Right To Left

Great library.

Is it possible to start from right to left?

"Underlined" pin entry

I'm currently migrating views from xml to Jetpack Compose.

The pin entry view style I used with xml was similar to Material Design Filled text field. With a colored border below the active cell.

Is there a way to achieve something similar with this library?

Disable focus on random cells

Focus should only be the next editable field.

User shouldn't be able to tap any random field to start editing OTP. (Unless the cell is already populated I guess)

current ohteepee bugs

Hello and thank you for your fascinating library. Below, I would like to address some of the bugs I noticed within the library.

For the first time, the keyboard opens automatically, but after closing, it does not reopen by clicking on the OTP. There is an issue with focusing on the OTP.

The text that is written is no longer removable and editing it encounters problems. There is no control over the imeAction keyboard, and its type cannot be changed.

It is better that any character clicked on a cell is editable.

text field stuck in second field box

i am unable to enter the text field values in sumsang device but it's working fine in pixel device. your sample project is working fine but any implementation as a library getting stuck in 2nd field. Kindly sync your project or update library code

Keyboard Focus

Hi, I'm dealing with an issue where, when I switch focus from one tile to another, my view jumps. This is probably related to the fact that the keyboard raises the content higher.

User cannot type char that is equals to placeholder char

Hi,
in the handleCellInputChange we have something like this:
val formattedNewValue = newValue.replace(placeHolder, String.EMPTY) .replace(obscureText, String.EMPTY)

Is the method for replace placeholder really needed? Currently in my project i need to have placeholder set as "0", but i need to allow user to type "0" in the cell. This function blocks user for typing "0" because this input char is removed

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.