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

feat(textarea): component can be used outside of ion-item #26674

Merged
merged 26 commits into from
Jan 25, 2023

Conversation

sean-perkins
Copy link
Contributor

@sean-perkins sean-perkins commented Jan 24, 2023

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)
    • Some docs updates need to be made in the ionic-docs repo, in a separate PR. See the contributing guide for details.
  • 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 URL: Internal

What is the new behavior?

  • ion-textarea can now be used independent of ion-item.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@stackblitz
Copy link

stackblitz bot commented Jan 24, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions bot added package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package labels Jan 24, 2023
@sean-perkins sean-perkins changed the title Fw 2764 (todo title) feat(textarea): component can be used outside of ion-item Jan 24, 2023
@sean-perkins sean-perkins marked this pull request as ready for review January 24, 2023 23:43
@sean-perkins sean-perkins requested review from liamdebeasi and a team as code owners January 24, 2023 23:43
Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

Looks like a diff for picker-multiple-column sneaked in

core/src/components/textarea/textarea.scss Outdated Show resolved Hide resolved
core/src/components/textarea/textarea.md.outline.scss Outdated Show resolved Hide resolved
@sean-perkins
Copy link
Contributor Author

sean-perkins commented Jan 24, 2023

In: http://localhost:3333/src/components/textarea/test/bottom-content the custom error color template has a different height than the other grid items.

Edit:

This was caused by an extra line break in the template: 6a55544

Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

These changes look good, though I see a few missing tests when compared with ion-input.

For reference, compare with the following files:

  • input/test/item
  • input/test/states
  • input/test/highlight

This is a combination of other PRs and is already big, so we should make these changes in a separate PR once this merges.

As an example, the highlight for success/invalid looks different than input

textarea input
image image

Additionally, setting disabled="true" does not change the opacity on the textarea.

However, these are minor bugs so I think we can merge this an then fix it in a separate PR. Great job with this!

@liamdebeasi
Copy link
Contributor

I made the above changes in a separate PR here: #26676

Screenshots are running but then should be good for a review once that is done.

@liamdebeasi
Copy link
Contributor

I skipped the flaky select test. The test is being refactored in #26667.

@liamdebeasi liamdebeasi merged commit 8d3edd0 into feature-7.0 Jan 25, 2023
@liamdebeasi liamdebeasi deleted the FW-2764 branch January 25, 2023 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants