Skip to content

Conversation

@liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Apr 17, 2023

Issue URL: resolves #27218


What is the current behavior?

Padding is not applied to the .native-textarea element when using a legacy textarea. It is applied in v6:

.native-textarea,
.textarea-wrapper::after {
@include padding(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));

The modern textarea is not impacted.

What is the new behavior?

  • Padding is now added to .native-textarea with the legacy textarea.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@bolt-new-by-stackblitz
Copy link

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

@github-actions github-actions bot added the package: core @ionic/core package label Apr 17, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review April 17, 2023 20:40
@liamdebeasi liamdebeasi requested a review from a team as a code owner April 17, 2023 20:40
@liamdebeasi liamdebeasi added this pull request to the merge queue Apr 18, 2023
Merged via the queue into main with commit 742d429 Apr 18, 2023
@liamdebeasi liamdebeasi deleted the FW-4075 branch April 18, 2023 15:20
liamdebeasi added a commit that referenced this pull request Apr 19, 2023
Issue URL: resolves #27218

---------

<!-- Please refer to our contributing documentation for any questions on
submitting a pull request, or let us know here if you need any help:
https://ionicframework.com/docs/building/contributing -->

<!-- Some docs updates need to be made in the `ionic-docs` repo, in a
separate PR. See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#modifying-documentation
for details. -->

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

Padding is not applied to the `.native-textarea` element when using a
legacy textarea. It is applied in v6:
https://github.com/ionic-team/ionic-framework/blob/ae9689bf3e185749dd2e0b27864b1c99b129820e/core/src/components/textarea/textarea.scss#L98-L100

The modern textarea is not impacted.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Padding is now added to `.native-textarea` with the legacy textarea.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

---------

Co-authored-by: ionitron <[email protected]>
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.

bug: ion-textarea legacy padding does not work anymore

4 participants