Open vaporwavie opened 2 months ago
Hey @vaporwavie, thanks for reporting this bug and good catch! Do you have a proposal to solve this problem?
I'm moving this issue to the backlog, feel free to investigate and solve it if you want!
@lucasaarcoverde I wanna tackle this, yes 😄
I'll take a look at the backlog later today!
Problem
On a given
Grid
:The prop
area
passed toGridCell
isn't being applied. Notice that it should, given that the parentGrid
does enable it for the grid template layer.To supersede that, I had to create a custom class name for it to then apply
grid-area: header;
there.Expected behavior
I should be able to inform the grid area corresponding to that grid cell, since it is a child of a grid.
Reproducible Example
https://codesandbox.io/p/sandbox/vibrant-neumann-klkrkz
Suggested solution
GridCell
should take the areas defined from its parentGrid
and apply it by context.Additional context
No response
Package
@vtex/shoreline
Packages version
^1.4.0
Browser
Arc (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36)
Package Manager
yarn