Skip to content

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

Merged
mmalerba merged 6 commits into
angular:masterfrom
kseamon:column-resize-also-table
May 13, 2020
Merged

fix(column-resize): Resize table as well as columns, improve handing …#19264
mmalerba merged 6 commits into
angular:masterfrom
kseamon:column-resize-also-table

Conversation

@kseamon

@kseamon kseamon commented May 5, 2020

Copy link
Copy Markdown
Contributor

…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

@jelbourn jelbourn left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread src/cdk-experimental/column-resize/column-resize-notifier.ts Outdated
}

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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.

Comment thread src/cdk-experimental/column-resize/resizable.ts Outdated
Comment thread src/cdk-experimental/column-resize/resizable.ts Outdated
@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label May 6, 2020
Comment thread src/cdk-experimental/column-resize/resize-strategy.ts
Comment thread src/cdk-experimental/column-resize/resizable.ts Outdated
Comment thread src/cdk-experimental/column-resize/column-resize-directives/column-resize-flex.ts Outdated

@crisbeto crisbeto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@andrewseguin andrewseguin left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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