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

bug: Inputs with icons are strange #29871

Open
3 tasks done
Marius-Romanus opened this issue Sep 13, 2024 · 0 comments
Open
3 tasks done

bug: Inputs with icons are strange #29871

Marius-Romanus opened this issue Sep 13, 2024 · 0 comments
Labels

Comments

@Marius-Romanus
Copy link

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

Hi,

Currently inputs with icons are strange, both the normal inputs and the new "ion-input-password-toggle" tag.

According to https://ionicframework.com/docs/api/input#start-and-end-slots-experimental the icons go inside the input, but they look small and without padding.

Captura de pantalla 2024-09-13 124957
  1. The input is stuck to the icon and is very small compared to the old way.
  2. In ion-input-password-toggle, if you add an icon to the right side, for example indicating that something is wrong, the icon is not the same size as the eye.
  3. In a normal input, if you put two icons at the end, apart from being very small, they have no padding.

The last item is the old way in which the icons were outside the input and everything looked fine :(

Greetings to the whole team.

Expected Behavior

It is expected that everything looks nice and centered, with the correct sizes in all cases. The old way was nice and looked great.

Steps to Reproduce

You can check everything at the following address:
https://stackblitz.com/edit/angular-6tcmal?file=src%2Fapp%2Fexample.component.html

Code Reproduction URL

https://stackblitz.com/edit/angular-6tcmal?file=src%2Fapp%2Fexample.component.html

Ionic Info

Ionic:

   Ionic CLI                     : 7.2.0 
   Ionic Framework               : @ionic/angular 8.3.0
   @angular-devkit/build-angular : 18.2.4
   @angular-devkit/schematics    : 18.2.4
   @angular/cli                  : 18.2.4
   @ionic/angular-toolkit        : 12.1.1

Capacitor:

   Capacitor CLI      : 6.1.2
   @capacitor/android : not installed
   @capacitor/core    : 6.1.2
   @capacitor/ios     : not installed

Utility:

   cordova-res : not installed globally
   native-run  : 2.0.1

System:

   NodeJS : v20.16.0 (C:\Program Files\nodejs\node.exe)
   npm    : 10.8.1
   OS     : Windows 10

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant