cds-snc / cds-snc/platform-forms-client

Translation page text areas don't expand to match other language

Open
#4,941 1 comment 0 reactions 0 assignees View on GitHub
:vertical_traffic_light: Minor app enhancement
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 8h
Merged PRs (30d)
85

Description

## Description
When inputting text in the Translation page for a Form, the _emptier_ text area is reduced in size compared to the original source langauge.

Consider making these the same to reduce noise on the page, and defaulting to the longer one.

## Steps to reproduce
1. Go to GC Forms
2. Create a form
3. Add a few lines of page text to the form in English
5. Switch to "Translations" in the Form set-up right panel
6. See how the English text area is expanded/full in comparison to the French

## Details
- **Browser**: Chrome
- **Operating system**: Mac
- **Environment**: Production
- **Language**: English and French
- **Viewport**: Desktop
- **Output**: cm5gzqaxw00mpaxducnvaky87

## Expected behaviour

Parallel / similar behaviour in both languages

## Screenshots or videos

Screenshot 2025-01-08 at 2.50.56 PM.png

Screenshot 2025-01-08 at 2.57.50 PM.png

Screenshot 2025-01-08 at 3.05.57 PM.png

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.