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

Design Issues Due to Overlapping Icons in Input Field #40885

Open
3 tasks done
MohamadSalman11 opened this issue Oct 1, 2024 · 2 comments
Open
3 tasks done

Design Issues Due to Overlapping Icons in Input Field #40885

MohamadSalman11 opened this issue Oct 1, 2024 · 2 comments

Comments

@MohamadSalman11
Copy link
Contributor

MohamadSalman11 commented Oct 1, 2024

Prerequisites

Describe the issue

In the registration form below, the Avira icon (a key) shows up in input fields when Avira Autofill is on to use saved data. This causes the tick icon and the Avira icon to overlap.This happens when you use Avira and Autofill is enabled, but it can also occur in other scenarios if you use a software that displays an icon or something similar in the input field

When not validated:
msedge_tkbqevvw03

When validated:
msedge_CjuYU2HrjW

Reduced test cases

None

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Microsoft Edge

What version of Bootstrap are you using?

5.3.3

@MohamadSalman11 MohamadSalman11 changed the title Design Issues Due to Overlapping Icons in Input Fields Design Issues Due to Overlapping Icons in Input Field Oct 1, 2024
@siddhesh-wagh
Copy link

siddhesh-wagh commented Oct 1, 2024

Customizing Avira Autofill Behavior
In some cases, you may want to disable Avira Autofill for certain fields. This can be done using the autocomplete attribute in HTML, which prevents browsers or third-party password managers from automatically filling in input fields.

html
Copy code
input type="text" name="username" autocomplete="off"

However, this may not always work with all password managers or might reduce usability, so use this option carefully.

@MohamadSalman11
Copy link
Contributor Author

MohamadSalman11 commented Oct 3, 2024

Customizing Avira Autofill Behavior In some cases, you may want to disable Avira Autofill for certain fields. This can be done using the autocomplete attribute in HTML, which prevents browsers or third-party password managers from automatically filling in input fields.

html Copy code input type="text" name="username" autocomplete="off"

However, this may not always work with all password managers or might reduce usability, so use this option carefully.

Thank you for your solution, Siddhesh. This will definitely work when we disable the autocomplete, and it will also solve issue #40879. However, if the developer decides to enable autocomplete for their project, the problem will resurface. We might need to include the tick icon not as an input background-image, but in some other way. But your solution will definitely work. Thank you! 😊"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants