-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Dynamic popover inputs #1149
Conversation
…nebular into Tibing-fix/dynamic-popover-inputs
src/playground/with-layout/popover/popover-showcase.component.ts
Outdated
Show resolved
Hide resolved
src/playground/with-layout/popover/popover-showcase.component.html
Outdated
Show resolved
Hide resolved
src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
Outdated
Show resolved
Hide resolved
src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
Outdated
Show resolved
Hide resolved
src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
Show resolved
Hide resolved
src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
Show resolved
Hide resolved
src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
Outdated
Show resolved
Hide resolved
Codecov Report
@@ 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
|
@Tibing one more time? |
@Tibing last time I promise 😄 |
this._componentType, | ||
this._content, | ||
this._context, | ||
this.createPositionStrategy()); |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read and mark the following check list before creating a pull request:
Short description of what this resolves: