Skip to content

fix(column-resize): Resize table as well as columns, improve handing … #19264

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

Merged
merged 6 commits into from
May 13, 2020

Conversation

kseamon
Copy link
Collaborator

@kseamon kseamon commented May 5, 2020

…of min/max width, and simplify overlay positioning.

…of min/max width, and simplify overlay positioning.
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label May 5, 2020
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

Also general function JsDocs

@andrewseguin PTAL

@@ -61,6 +63,10 @@ export abstract class ColumnResize implements AfterViewInit, OnDestroy {
return `cdk-column-resize-${this.selectorId}`;
}

setResized() {
this.elementRef.nativeElement!.classList.add(WITH_RESIZED_COLUMN_CLASS);
Copy link
Member

Choose a reason for hiding this comment

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

Why does this need to be called from other classes instead of only responding to the resize stream?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I went back and forth on this - I was not sure that applying a min/max size should trigger the notifier, which will eventually have side effects like persisting the size setting.

@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label May 6, 2020
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@andrewseguin andrewseguin left a comment

Choose a reason for hiding this comment

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

LGTM

@andrewseguin andrewseguin added lgtm action: merge The PR is ready for merge by the caretaker labels May 8, 2020
@mmalerba mmalerba merged commit 781051b into angular:master May 13, 2020
@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 Jun 13, 2020
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 cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants