Skip to content

fix(textarea): update label alignment to baseline - #18042

Merged
brandyscarney merged 10 commits into
masterfrom
fix-textarea-alignment
Apr 16, 2019
Merged

brandyscarney merged 10 commits into
masterfrom
fix-textarea-alignment

Conversation

@brandyscarney

@brandyscarney brandyscarney commented Apr 15, 2019 •

Copy link
Copy Markdown
Member

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: #16187

What is the new behavior?

  • Adds baseline alignment to labels and textarea in input items
  • Updates the MD label UI to be closer to the spec
  • Adds a spec test used to compare against the MD web implementation

Does this introduce a breaking change?

  • Yes
  • No

Other information

master branch
localhost_3333_src_components_textarea_test_basic(Galaxy S5) (6) localhost_3333_src_components_input_test_spec(Galaxy S5)
localhost_3333_src_components_textarea_test_basic(Galaxy S5) (5) localhost_3333_src_components_textarea_test_basic(Galaxy S5) (4)

@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Apr 15, 2019

@liamdebeasi liamdebeasi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Just one note:

There used to be a bit of space between the top of the textarea content and the label. It looks like that's no longer there:

master branch
Screen Shot 2019-04-16 at 8 31 35 AM Screen Shot 2019-04-16 at 8 32 04 AM

Note: This only happens on MD mode

@brandyscarney

Copy link
Copy Markdown
Member Author

@liamdebeasi Good catch! I'll look into it.

@liamdebeasi liamdebeasi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good! 🎉

@brandyscarney
brandyscarney merged commit 38ae362 into master Apr 16, 2019
@brandyscarney
brandyscarney deleted the fix-textarea-alignment branch April 16, 2019 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants