Skip to content

Conversation

brandyscarney
Copy link
Member

This pull request includes the changes to remove the legacy property for the select as part of #29024. That pull request specifically focuses on updating tests to remove any legacy select usage. The internal ticket suggested separating these changes into individual pull requests. Please refer to the mentioned pull request for a detailed description of the combined changes from both pull requests. This will be merged into that pull request upon approval.

@github-actions github-actions bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package labels Feb 12, 2024
Comment on lines -7 to -18
/// @prop - Padding top of the select
$select-ios-padding-top: $item-ios-padding-top !default;

/// @prop - Padding end of the select
$select-ios-padding-end: ($item-ios-padding-end * 0.5) !default;

/// @prop - Padding bottom of the select
$select-ios-padding-bottom: $item-ios-padding-bottom !default;

/// @prop - Padding start of the select
$select-ios-padding-start: $item-ios-padding-start !default;

Copy link
Member Author

Choose a reason for hiding this comment

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

These variables were only used by the legacy select

Comment on lines -7 to -18
/// @prop - Padding top of the select
$select-md-padding-top: $item-md-padding-top !default;

/// @prop - Padding end of the select
$select-md-padding-end: 0 !default;

/// @prop - Padding bottom of the select
$select-md-padding-bottom: $select-md-padding-top !default;

/// @prop - Padding start of the select
$select-md-padding-start: $item-md-padding-start !default;

Copy link
Member Author

Choose a reason for hiding this comment

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

These variables were only used by the legacy select

);
}

render() {
Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't change the renderSelect() function but I moved it down in the file to where the render() function was which is why there is a larger diff

@brandyscarney brandyscarney merged commit 1429223 into FW-3194 Feb 13, 2024
@brandyscarney brandyscarney deleted the FW-3194-legacy-removal branch February 13, 2024 16:54
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.

2 participants