I noticed that I can't keep the AppBar fixed at the top when trying launch it in a fullScreen Dialog or as a separate page with page contents in the context of a transition (e.g. Zoom).
Expected AppBar to not scroll with page when setting position to fixed
AppBar scrolls with page
https://codesandbox.io/s/2471jyxxkr (inside fullScreen dialog)
https://codesandbox.io/s/lrxv6w43y9 (inside <div> in page layout)
I am trying to provide a fullscreen dialog box that can have a scrollbar, but I want the appBar to remain fixed
| Tech | Version |
|--------------|---------|
| Material-UI | v1.?.? |
| React | |
| browser | |
| etc | |
馃憢 Thanks for using Material-UI!
We use the issue tracker exclusively for bug reports and feature requests, however,
this issue appears to be a support request or question. Please ask on StackOverflow where the
community will do their best to help. There is a "material-ui" tag that you can use to tag your
question.
If you would like to link from here to your question on SO, it will help others find it.
If your issues is confirmed as a bug, you are welcome to reopen the issue using the issue template.
This is not a support request. Using the documentation (setting AppBar position to fixed, which is the default so shouldn't be necessary anyway) does not solve this. Even adding "position: fixed" to root of AppBar does not solve this issue. There is no documentation on Material UI that defines how to set AppBar as fixed in full screen dialog
I still find the issue persists. Please repoen.
https://codesandbox.io/s/material-demo-xu1qw
@triethyl This is a support request. You will find more luck on StackOverflow.
Most helpful comment
This is not a support request. Using the documentation (setting AppBar position to fixed, which is the default so shouldn't be necessary anyway) does not solve this. Even adding "position: fixed" to root of AppBar does not solve this issue. There is no documentation on Material UI that defines how to set AppBar as fixed in full screen dialog