Anyone have an idea on why my table isn't responding beyond the parent?
Victor Giron
1 year ago
That's the downiside of sticky positioning, you can try using my table, copy the code I attached and paste it in your canvas, and find the repeated row and change it with your items array
Just to explain a bit more why this happen, the total width of the content is equal to the sticky area ( I think so) that's why this happens, so you need to add some internal containers to prevent this to happen as I shared it in the element
Have you used your table as a component? Or are you just building it for one data set? In theory I’d like the table as a component so I can use it on multiple pages
Is this the same table as your previous component or is this purely code?
Alex
1 year ago
I have pasted in the code @Victor Giron but the table isn't showing up as visible? Do I need to set the heght?
Alex
1 year ago
Alex
1 year ago
It's obviously showing up... but not visible
Alex
1 year ago
yep, fixed it, just needed a height on parent div and background colour set
🔥2
Alex
1 year ago
I'll need you to walk me through your dropdown component set up too and the popup 🙂 THANKS VICTOR!! You're awesome