We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c68641a commit 014dca6Copy full SHA for 014dca6
src/index.tsx
@@ -206,8 +206,8 @@ const ReactInputVerificationCode = ({
206
role='button'
207
tabIndex={0}
208
className={`ReactInputVerificationCode__item ${
209
- i === activeIndex ? 'is-active' : ''
210
- }`}
+ value[i] !== placeholder ? 'is-filled' : ''
+ } ${i === activeIndex ? 'is-active' : ''} `}
211
onFocus={onItemFocus(i)}
212
>
213
{value[i] || placeholder}
0 commit comments