OtpView icon indicating copy to clipboard operation
OtpView copied to clipboard

First box background focused by default

Open poppinjay13 opened this issue 3 years ago • 2 comments

First of all, great job with the library, I love it. However, I've noted that the first box's background gives the impression of being focused by default which is misleading for instances where there is another view (Edittext) in focus at the time. Users thinking the pinview is focused type out the pin in the wrong view. Is it possible to only have the focused background either once a user clicks on it or once it is focused on?

poppinjay13 avatar Mar 25 '21 12:03 poppinjay13

I agree with this observation. I'll try to make the changes as soon as possible. Meanwhile, if you have done those changes at your end just Raise a PR and i will merge it.

aabhasr1 avatar Mar 26 '21 10:03 aabhasr1

Unfortunately, I'm not as familiar with Kotlin as I work with Java. I had tried to make the update myself but it proved a bit complicated so I opened the issue. It's not urgent but I'll watch the repo for the next update.

poppinjay13 avatar Mar 26 '21 11:03 poppinjay13