Skip to main content
Solved

Sticky Top zIndex / Elevation

  • June 13, 2024
  • 1 reply
  • 465 views

Renan_Malato

I got a table with lines and the top head of the table I set to Sticky Top

But when scroll the table, instead of go behind the top head it goes on front

And as well it is in autolayout, if I move the layer to top, it goes to the bottom of my table

ezgif-3-761fc797a1

I know I also could do a hack, create a separated component for the top of the table, but each time that I need to change a column in the table data I would have to match that in the top head in a separated component

Don’t know if it already have this or we should request feature

Best answer by Renan_Malato

The way I hack that is making the top head in position absolute and setting a top margin to the rest of the content inside the table

View original

Renan_Malato

The way I hack that is making the top head in position absolute and setting a top margin to the rest of the content inside the table


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings