Skip to content

Inconsistent textarea size on empty in config screens #341

@smed79

Description

@smed79

Description:

The textareas for "Configure additional hosts" and "Edit configuration file" exhibit inconsistent sizing in the app. Specifically, when the content of either textarea is completely deleted, the rows and columns of the input field collapse to a minimum size and makes it difficult to subsequently click or tap within the small input area to begin typing again.

Steps to Reproduce:

  1. Navigate to either the "Configure additional hosts" or "Edit configuration file" section of the app.
  2. If there is any existing text in the textarea, delete all of it.
  3. Observe the size of the now empty textarea. It will appear significantly smaller with reduced rows and columns.
  4. Attempt to tap or click within the collapsed textarea to begin entering new text. You may find it challenging to accurately target the small input area.

Screenshots:

Expected Behavior:

The textarea should maintain a consistent, user-friendly size regardless of its content. Even when empty, it should retain a reasonable number of rows and columns to ensure it remains easily tappable and usable.

Proposed Solution:

It is recommended to specify a fixed "rows" and "cols" attribute (or equivalent styling in the layout) for these textarea elements to ensure they maintain a consistent and usable size, even when empty. This would improve the user experience by preventing the input fields from becoming too small to easily interact with.

Environment:

  • Android Version: 14
  • personalDNSfilter Version: 1.50.56.0

Thank you for your attention to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions