Skip to main content
Answer

Sticky Top zIndex / Elevation

  • June 13, 2024
  • 1 reply
  • 940 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

This topic has been closed for replies.

1 reply

Renan_Malato
  • Author
  • Answer
  • June 13, 2024

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