Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Input Element Width Expansion on Click #55

Open
Heet-Bhalodiya opened this issue Jun 21, 2024 · 0 comments
Open

Issue with Input Element Width Expansion on Click #55

Heet-Bhalodiya opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Heet-Bhalodiya
Copy link

Version of the library: 1.2.4

Expected Behavior

The library should provide properties that allow direct modification of the input styles.

Current Behavior

Screenshots of the issue are attached for reference:

CPT2406201907-485x312

image

When clicking on the slot, an additional 40px width is added to the input element. To address this issue, I have to add the following styles in the global.css file:

input[autocomplete='one-time-code'][data-input-otp='true'] {
  inline-size: 100% !important;
}

I appreciate your assistance in resolving this matter.

@Heet-Bhalodiya Heet-Bhalodiya added the bug Something isn't working label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants