components icon indicating copy to clipboard operation
components copied to clipboard

Tab content partially misaligned after switching tabs

Open merschel opened this issue 9 years ago • 11 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

bildschirmfoto 2017-11-22 um 11 37 24

What is the current behavior?

When switching the tabs some parts of some components are shifted.

bildschirmfoto 2017-11-22 um 11 40 39

If one switch the tabs and press the mouse down on the tab-button 'Tab 1' until the grey bubble animation is finished everything is fine.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-rarcts

but on stackblitz it seems to work fine.

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

I use electron with:

"dependencies": { "electron-log": "^2.2.11", "macaddress": "^0.2.8", "sequelize": "^4.3.2", "sqlite3": "^3.1.8" }, "devDependencies": { "@angular/animations": "^5.0.2", "@angular/cdk": "^5.0.0-rc.1", "@angular/cli": "1.5.2", "@angular/common": "^5.0.2", "@angular/compiler": "^5.0.2", "@angular/compiler-cli": "^5.0.2", "@angular/core": "^5.0.2", "@angular/forms": "^5.0.2", "@angular/language-service": "^5.0.2", "@angular/material": "^5.0.0-rc.1", "@angular/platform-browser": "^5.0.2", "@angular/platform-browser-dynamic": "^5.0.2", "@angular/router": "^5.0.2", "@material-extended/mde": "^1.0.0-alpha.6", "@types/glob": "^5.0.33", "@types/jasmine": "2.5.45", "@types/node": "~7.0.48", "@types/serialport": "^4.0.9", "chokidar": "^1.7.0", "codelyzer": "~4.0.1", "core-js": "^2.4.1", "electron": "1.7.9", "electron-builder": "~19.45.5", "electron-reload": "^1.2.1", "hammerjs": "^2.0.8", "jasmine-core": "~2.6.2", "jasmine-spec-reporter": "~4.1.0", "jspdf": "^1.3.5", "karma": "~1.7.0", "karma-chrome-launcher": "~2.1.1", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^1.2.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "moment": "^2.19.2", "protractor": "~5.2.0", "rxjs": "^5.5.2", "ts-md5": "^1.2.2", "ts-node": "~3.3.0", "tslint": "~5.8.0", "typescript": "~2.4.2", "zone.js": "^0.8.4" } }

Is there anything else we should know?

merschel avatar Nov 22 '17 13:11 merschel

In which browser are you seeing this?

donroyco avatar Nov 22 '17 13:11 donroyco

I am seeing this in electron 1.7.9

merschel avatar Nov 22 '17 13:11 merschel

I tried these also in firefox and chrome but it works fine.

It seams that only in Chromium 58.0.3029.110 (the one electron is using) exist these problem.

merschel avatar Nov 22 '17 14:11 merschel

I am facing the same issue with electron.

navjotdhanawat avatar Nov 24 '17 09:11 navjotdhanawat

@merschel - Can you setup a example electron project for us to test in? It works for me in Chrome/FF/Safari.

amcdnl avatar Dec 02 '17 18:12 amcdnl

Yes of course. For me it also works in Chrome/FF/Safari, but not in Chromium (58.0.3029.110). This is the one the current version of electron is using.

See https://github.com/merschel/Material-Tab-Bug

Or you can use Chromium and my stackblitz from above ( https://stackblitz.com/edit/angular-rarcts ).

I hope its working. Sometimes one have to switch the tabs several times.

merschel avatar Dec 04 '17 12:12 merschel

I am seeing this too. ("electron": "1.7.5"). Very annoying bug.

RicardoLimaDev avatar Dec 05 '17 19:12 RicardoLimaDev

I also got this problem. tested with Electron. version 1.7.9 and 1.7.6. If I quicky change tabs (tab2 => tab1 => tab2), the content is aligned.

sreverdy avatar Dec 20 '17 03:12 sreverdy

I tested it with the last electron beta : https://github.com/electron/electron/releases/tag/v1.8.2-beta.3 And it works as expected.

sreverdy avatar Dec 21 '17 19:12 sreverdy

Closing due to inactivity.

crisbeto avatar Nov 25 '25 11:11 crisbeto

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.