foss42 / apidash

API Dash is a beautiful open-source cross-platform API Client built using Flutter which can help you easily create & customize your API requests, visually inspect responses and generate API integration code. A lightweight alternative to postman/insomnia.

Home Page:https://apidash.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] Form field disappears partially on long text input

opxdelwin opened this issue · comments

Describe the bug/problem

When a user types a long sentence into a text field in the body tab's formdata section, half of its vertical spacing is lost, causing the input text to be hidden.

Preview
2024-03-03.20-02-49.mp4

Steps to Reproduce the bug/problem

  1. Open the app and navigate to the body tab.
  2. Go to the formdata section.
  3. Select a text field and type a long sentence.

Expected behavior
The text field should scroll vertically to accommodate the input text without losing half of its vertical spacing.
This ensures that the input text remains visible and accessible to the user.

Device Info (The device where you encountered this issue):

  • OS: Win10 22H2]

Reopening the issue as #251 improved the UX but there is still partial clipping of j, p, q, y & g characters.

Screenshot 2024-03-09 at 12 47 52 AM

Will look into this soon.

I have raised an issue at flutter/flutter#145255 I'll let it run in the background.
Currently tracking flutter/flutter#51257

I'll be available in full work force after April 23.

Feel free to ping me if anything arises!

Thanks for the research @opxdelwin 👇 #274

Setting isCollapsed: true, fixes the issue even with default contentPadding

Title Image
No content padding with non-overflow text image
collapsed true and overflown text without content padding image
collapsed true with overflow and bit content padding (to bring up the underline gap) image

Perfect, looks like it's resolved.