Skip to content

Commit 86fc19e

Browse files
authored
Merge branch 'master' into fix-826-migration-master
2 parents aaca796 + 79f7c9a commit 86fc19e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

projects/igniteui-angular/src/lib/core/styles/components/switch/_switch-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
), map-get($theme, variant));
174174

175175
$switch-off-offset: map-get((
176-
material: 1px,
176+
material: -1px,
177177
fluent: $switch-thumb-width / 3
178178
), map-get($theme, variant));
179179

@@ -279,7 +279,7 @@
279279
}
280280

281281
@include if-rtl() {
282-
transform: translateX(-#{rem($switch-off-offset)});
282+
transform: translateX(#{rem(-1 * $switch-off-offset)});
283283
}
284284

285285
&:hover {

projects/igniteui-angular/src/lib/directives/for-of/for_of.directive.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ export class IgxForOfDirective<T> implements OnInit, OnChanges, DoCheck, OnDestr
746746
const diffs = [];
747747
let totalDiff = 0;
748748
const l = this._embeddedViews.length;
749+
this._embeddedViews.filter(view => !view.destroyed).forEach(view => view.detectChanges());
749750
const rNodes = this._embeddedViews.map(view =>
750751
view.rootNodes.find(node => node.nodeType === Node.ELEMENT_NODE) || view.rootNodes[0].nextElementSibling);
751752
for (let i = 0; i < l; i++) {

0 commit comments

Comments
 (0)