Skip to content

Conversation

crisbeto
Copy link
Member

Note: This is a cherry-pick of #30473.

Adds an injection token to the timepicker that allows the scroll strategy to be customized, similar to other components.

Fixes #30421.

…ular#30473)

Adds an injection token to the timepicker that allows the scroll strategy to be customized, similar to other components.

Fixes angular#30421.
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Feb 12, 2025
@crisbeto crisbeto requested a review from a team as a code owner February 12, 2025 17:18
@crisbeto crisbeto requested review from andrewseguin and mmalerba and removed request for a team February 12, 2025 17:18
export const MAT_TIMEPICKER_CONFIG: InjectionToken<MatTimepickerConfig>;

// @public
export const MAT_TIMEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a reason to not just put it as part of the MAT_TIMEPICKER_CONFIG?

Copy link
Member Author

Choose a reason for hiding this comment

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

Mostly consistency with the rest of the components.

@crisbeto crisbeto merged commit e8d6454 into angular:19.1.x Feb 12, 2025
25 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: material/timepicker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants