mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
23 stars 25 forks source link

[ic-text-field]: character count interferes with validation message on small fields #214

Open GCHQ-Developer-741 opened 1 year ago

GCHQ-Developer-741 commented 1 year ago

Summary of the bug

When text fields are resized to have a small width, the remaining space for the character count and validation becomes very small and the two elements interfere with one another. 

🪜 How to reproduce

  1. Create a Text field with a small defined width
  2. Enter above character limit
  3. See the error

🧐 Expected behaviour

The validation message and character count should be spaced out nicely

📸 Screenshots or code

Screenshot from 2023-01-05 11-45-30

Additional info

Explore options to avoid clash between the two elements. 

MI6-255 commented 4 months ago

The change is to make the validation the same width of the helper text etc

MI6-255 commented 4 months ago

Add visual test