Checkboxes show above sticky content #43657
Labels
component: checkbox
This is the name of the generic UI component, not the React module!
customization: css
Design CSS customizability
Steps to reproduce
https://stackblitz.com/edit/react-2qkkqu
Current behavior
Screen.Recording.2024-09-08.at.12.41.50.mov
Expected behavior
I expect the sticky content to appear above any scrolling content by default, without having to resort to hard-to-maintain
z-index
fixes.Context
I'm trying to make the top of my
Paper
available at all times for the user, including after scrolling to see the bottom of thePaper
.Checkbox inputs use
position: relative
which makes them appear on top. I'm not familiar enough withposition: sticky
to assume that this is the expected or unexpected behavior (or thatposition: relative
is required for MUI's checkboxes implementation)Your environment
No response
Search keywords: checkbox sticky relative
The text was updated successfully, but these errors were encountered: