Skip to content
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

Dynamic popover inputs #1149

Merged
merged 23 commits into from
Jan 23, 2019
Merged

Dynamic popover inputs #1149

merged 23 commits into from
Jan 23, 2019

Conversation

nnixaa
Copy link
Collaborator

@nnixaa nnixaa commented Jan 11, 2019

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

@nnixaa nnixaa added the WIP label Jan 11, 2019
@nnixaa nnixaa requested a review from Tibing January 14, 2019 08:10
@codecov
Copy link

codecov bot commented Jan 16, 2019

Codecov Report

Merging #1149 into master will increase coverage by 0.69%.
The diff coverage is 99.58%.

@@            Coverage Diff             @@
##           master    #1149      +/-   ##
==========================================
+ Coverage   78.84%   79.54%   +0.69%     
==========================================
  Files         200      202       +2     
  Lines        6070     6262     +192     
  Branches      469      498      +29     
==========================================
+ Hits         4786     4981     +195     
+ Misses       1169     1165       -4     
- Partials      115      116       +1
Impacted Files Coverage Δ
...nts/cdk/overlay/dynamic/dynamic-overlay-handler.ts 100% <100%> (ø)
...rc/framework/theme/components/cdk/overlay/index.ts 100% <100%> (ø) ⬆️
...work/theme/components/popover/popover.component.ts 100% <100%> (ø) ⬆️
.../theme/components/cdk/overlay/overlay-container.ts 100% <100%> (ø) ⬆️
...work/theme/components/popover/popover.directive.ts 91.17% <100%> (+4.29%) ⬆️
src/framework/theme/components/helpers.ts 60% <100%> (ø) ⬆️
.../components/cdk/overlay/dynamic/dynamic-overlay.ts 98.86% <98.86%> (ø)
...eme/components/calendar/base-calendar.component.ts 75.55% <0%> (-2.23%) ⬇️
... and 1 more

@nnixaa nnixaa removed the WIP label Jan 16, 2019
@nnixaa
Copy link
Collaborator Author

nnixaa commented Jan 16, 2019

@Tibing one more time?

Tibing
Tibing previously approved these changes Jan 16, 2019
@nnixaa
Copy link
Collaborator Author

nnixaa commented Jan 22, 2019

@Tibing last time I promise 😄

this._componentType,
this._content,
this._context,
this.createPositionStrategy());
Copy link
Member

Choose a reason for hiding this comment

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

Please, add a new line here. it's freaking irritating 😸

this.container.changeDetectorRef.detectChanges();

/**
* Dimensions of the container may be changed after updating the content, so, we have to update
Copy link
Member

Choose a reason for hiding this comment

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

Let's move this comment inside this.updatePositionWhenStable() method. Because this. updatePositionWhenStable() is used in multiple places.

}

protected updatePositionWhenStable() {
this.zone.onStable
Copy link
Member

Choose a reason for hiding this comment

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

image
And it still doesn't work properly.

@nnixaa nnixaa merged commit d427e59 into master Jan 23, 2019
@nnixaa nnixaa deleted the Tibing-fix/dynamic-popover-inputs branch January 23, 2019 14:54
@sashaqred sashaqred restored the Tibing-fix/dynamic-popover-inputs branch September 7, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants