-
Notifications
You must be signed in to change notification settings - Fork 161
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
refactor(grid): Remove deprecated usage of display density #14163
Conversation
…into mdragnev/refactor-density
…into mdragnev/refactor-density
…he resize observer
…UI/igniteui-angular into mdragnev/refactor-density
@@ -435,7 +392,7 @@ export class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent | |||
* @hidden @internal | |||
*/ | |||
public hide() { | |||
this._originalDisplay = document.defaultView.getComputedStyle(this.element.nativeElement).display; | |||
this._originalDisplay = this.computedStyles.display; | |||
this.element.nativeElement.style.display = 'none'; |
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.
👀
/* ignore this one, just baffled by why on earth is that doing */
...ects/igniteui-angular/src/lib/grids/filtering/excel-style/excel-style-filtering.component.ts
Outdated
Show resolved
Hide resolved
…into mdragnev/refactor-density
@@ -1,5 +1,5 @@ | |||
<div class="wrapper"> | |||
<igx-grid #grid1 [data]="data" [width]="'100%'" [height]="'800px'" displayDensity="compact" [rowSelection]="'multiple'" > | |||
<igx-grid #grid1 [data]="data" [width]="'100%'" [height]="'800px'" [style.--ig-size]="1" [rowSelection]="'multiple'" > |
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.
PS: Those static values can just be moved to styles instead.
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.
Not sure if the styling still needs more discussing and the dev demos can be cleaned up some more even separately, the rest LGTM.
…into mdragnev/refactor-density
Closes #14015
Updated the update guide in the docfx: IgniteUI/igniteui-docfx#5807
Additional information (check all that apply):
Checklist:
feature/README.MD
updates for the feature docsREADME.MD
CHANGELOG.MD
updates for newly added functionalityng update
migrations for the breaking changes (migrations guidelines)