File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,11 @@ export class MatTabHeader extends _MatTabHeaderMixinBase
296
296
const scrollDistance = this . scrollDistance ;
297
297
const translateX = this . _getLayoutDirection ( ) === 'ltr' ? - scrollDistance : scrollDistance ;
298
298
299
- this . _tabList . nativeElement . style . transform = `translate3d(${ translateX } px, 0, 0)` ;
299
+ // Don't use `translate3d` here because we don't want to create a new layer. A new layer
300
+ // seems to cause flickering and overflow in Internet Explorer. For example, the ink bar
301
+ // and ripples will exceed the boundaries of the visible tab bar.
302
+ // See: https://github.com/angular/material2/issues/10276
303
+ this . _tabList . nativeElement . style . transform = `translateX(${ translateX } px)` ;
300
304
}
301
305
302
306
/** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
You can’t perform that action at this time.
0 commit comments