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

Fix TextField line breaking and text scrolling #306

Conversation

Saladinek
Copy link
Contributor

@Saladinek Saladinek commented Oct 2, 2020

Types of Changes

Prerequisites

Please make sure you can check the following two boxes:

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project

Contribution Type

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue, please reference the issue id)
  • New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Description

Fixes #305

@CLAassistant
Copy link

CLAassistant commented Oct 2, 2020

CLA assistant check
All committers have signed the CLA.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@dimabory dimabory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also like to see changes in snapshots. Could you update them?

@dimabory
Copy link
Collaborator

dimabory commented Oct 2, 2020

Seems to be a bit broken still:

const { TextField } = require('precise-ui');

<TextField multiline resizable label="Test label" />

image

UPD: This is broken in the previous version as well. @Saladinek If you find out a solution in that PR, it would be great.

Copy link
Collaborator

@dimabory dimabory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you determine the reason for the following changes?

  • integration/image_snapshots/Anchor_3-snap.png

A background has been changed a little bit.


  • integration/image_snapshots/AutocompleteTagBuilder_5-snap.png
  • integration/image_snapshots/Autocomplete_3-snap.png
  • integration/image_snapshots/DropdownField_3-snap.png
  • integration/image_snapshots/DropdownField_7-snap.png
  • integration/image_snapshots/DropdownField_9-snap.png
  • integration/image_snapshots/DropdownSelect_3-snap.png
  • integration/image_snapshots/DropdownSelect_7-snap.png
  • integration/image_snapshots/DropdownSelect_9-snap.png
  • integration/image_snapshots/PasswordField_1-snap.png
  • integration/image_snapshots/SearchField_1-snap.png
  • integration/image_snapshots/SearchField_3-snap.png
  • integration/image_snapshots/SearchField_5-snap.png
  • integration/image_snapshots/TextField_25-snap.png
  • integration/image_snapshots/TextField_27-snap.png
  • integration/image_snapshots/TextField_3-snap.png
  • integration/image_snapshots/TextField_5-snap.png

A label size has been changed.


  • integration/image_snapshots/Flyout_11-snap.png
  • integration/image_snapshots/Form_5-snap.png
  • integration/image_snapshots/RadioButtonGroup_1-snap.png
  • integration/image_snapshots/RadioButtonGroup_11-snap.png
  • integration/image_snapshots/RadioButtonGroup_5-snap.png
  • integration/image_snapshots/RadioButtonGroup_7-snap.png
  • integration/image_snapshots/RadioButtonGroup_9-snap.png
  • integration/image_snapshots/RadioButtonGroup_1-snap.png
  • integration/image_snapshots/RadioButtonGroup_11-snap.png
  • integration/image_snapshots/RadioButtonGroup_13-snap.png
  • integration/image_snapshots/RadioButtonGroup_3-snap.png
  • integration/image_snapshots/RadioButtonGroup_7-snap.png
  • integration/image_snapshots/RadioButtonGroup_9-snap.png

An indentation (probably padding) for elements has been changed.


PS: the best is to not introduce any BC (breaking changes).

@dimabory
Copy link
Collaborator

image

it looks like a big issue ...

@Saladinek Saladinek closed this Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TextField input UI inconsistent when scrolling + bad word break
4 participants