Skip to content
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

something may dynamical make a css and conflict with style position:'fixed' #4124

Closed
legendweny opened this issue Apr 30, 2016 · 1 comment
Closed
Labels
package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. v0.x

Comments

@legendweny
Copy link

legendweny commented Apr 30, 2016

Problem Description

I found this something may dynamically make a css file called app.css in index.html file
dynamical css file
app.css file

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  font-style: 16px;
  background-color: #EBECED;
}
........

then AppBar scrolls off the page!!!!!!!!
Beacuse of Chrome cannot render position:fixed on elements under a transformation.
But I just need a fixed AppBar
So I using javascript dynamically remove this codes in the app.css file

  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);

Versions

  • Material-UI: 0.14.4
  • React: 0.14.7
@legendweny legendweny changed the title "injectTapEventPlugin" may dynamical make a css and conflict with style position:'fixed' something may dynamical make a css and conflict with style position:'fixed' Apr 30, 2016
@legendweny
Copy link
Author

I found that my own legacy dcss resulting file....

@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 21, 2022
@zannager zannager added v0.x package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. v0.x
Projects
None yet
Development

No branches or pull requests

3 participants