Skip to content

fix(select): respect --border-radius with modern template - #27213

Merged
liamdebeasi merged 3 commits into
mainfrom
FW-4070
Apr 17, 2023
Merged

liamdebeasi merged 3 commits into
mainfrom
FW-4070

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Apr 17, 2023 •

Copy link
Copy Markdown
Contributor

Issue URL: resolves #27208


What is the current behavior?

The --border-radius CSS variable was not consumed in the base select stylesheet.

What is the new behavior?

  • Added --border-radius usage on .select-wrapper. This aligns with input and textarea implementations:

Input:

@include border-radius(var(--border-radius));

Textarea:
@include border-radius(var(--border-radius));

Does this introduce a breaking change?

  • Yes
  • No

Other information

@bolt-new-by-stackblitz

Copy link
Copy Markdown

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 changed the title Fw 4070 fix(select): respect --border-radius Apr 17, 2023
@liamdebeasi liamdebeasi changed the title fix(select): respect --border-radius fix(select): respect --border-radius with modern template Apr 17, 2023
@liamdebeasi
liamdebeasi marked this pull request as ready for review April 17, 2023 14:46
@liamdebeasi
liamdebeasi requested a review from a team as a code owner April 17, 2023 14:46
@liamdebeasi
liamdebeasi enabled auto-merge April 17, 2023 17:58
@liamdebeasi
liamdebeasi added this pull request to the merge queue Apr 17, 2023
@liamdebeasi
liamdebeasi removed this pull request from the merge queue due to a manual request Apr 17, 2023
@liamdebeasi
liamdebeasi added this pull request to the merge queue Apr 17, 2023
Merged via the queue into main with commit 6ffbdbb Apr 17, 2023
@liamdebeasi
liamdebeasi deleted the FW-4070 branch April 17, 2023 18:40
liamdebeasi added a commit that referenced this pull request Apr 19, 2023
Issue URL: resolves #27208

---------

<!-- 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. -->


<!-- Issues are required for both bug fixes and features. -->

The `--border-radius` CSS variable was not consumed in the base select
stylesheet.


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

- Added `--border-radius` usage on `.select-wrapper`. This aligns with
input and textarea implementations:

Input:
https://github.com/ionic-team/ionic-framework/blob/dca31f5940c45d655716f30a74a579d7a4978aae/core/src/components/input/input.scss#L285
Textarea:
https://github.com/ionic-team/ionic-framework/blob/dca31f5940c45d655716f30a74a579d7a4978aae/core/src/components/textarea/textarea.scss#L246
## 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: --border-radius custom css style does not apply to the ion-select component

3 participants