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

TextField input UI inconsistent when scrolling + bad word break #305

Open
5 tasks done
Saladinek opened this issue Oct 1, 2020 · 0 comments
Open
5 tasks done

TextField input UI inconsistent when scrolling + bad word break #305

Saladinek opened this issue Oct 1, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Saladinek
Copy link
Contributor

Bug Report

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version?
  • Did you check the FAQs to see if that helps you?
  • Are you reporting to the correct repository?
  • Did you perform a search in the issues?

Version:

1.5.0

Description:

When a TextField is in multiline mode, words will be broken improperly between two lines, if the text is too long to fit.
When we add label to the TextField and the text is long enough to trigger scrolling feature, a portion of the text disapears later than the rest due to an incorrect size of label.

Steps to reproduce:

Go to KitchenSink, shrink your browser to make the TextField smaller, add following code and type some long enough text to trigger scrolling (Bad word breaking will most probably be there already):

const { TextField } = require('precise-ui');
<TextField multiline label="Dummy Label" />

Expected Behaviour

The TextField breaks lines of text correctly and not in the middle of the word without any indication.
When scrolling through the text, text disapears in one line.

Actual Behaviour

TextField1
TextField2

@dimabory dimabory added bug Something isn't working good first issue Good for newcomers labels Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants