Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tile/Tile Group]: The width of the tile does not grow to full width #11199

Open
2 of 6 tasks
jasdelreyes opened this issue Jan 3, 2025 · 1 comment
Open
2 of 6 tasks
Labels
0 - new New issues that need assignment. ArcGIS Map Viewer Issues logged by ArcGIS Map Viewer team members. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone needs triage Planning workflow - pending design/dev review.

Comments

@jasdelreyes
Copy link

Check existing issues

Actual Behavior

The width of the tiles in tile group do not expand to the full width of its parent container. This was previously allowed in the way that tile-select was built with a width prop.

Expected Behavior

The width of the tiles acts responsively, and grows and shrinks to the full size of the parent container.

Reproduction Sample

https://codepen.io/jasdelreyes/pen/PwYOKqr?editors=1100

Reproduction Steps

See the repro in the codepen above.

Reproduction Version

~3.0.0-next.50

Relevant Info

In the codepen, you can see a workaround of using the css values of contents and width: 100%. This works to expand the width of the tiles, but prevents the tiles from showing the greyed out state when disabled.

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

@jasdelreyes jasdelreyes added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Jan 3, 2025
@github-actions github-actions bot added ArcGIS Online Issues logged by ArcGIS Online team members. calcite-components Issues specific to the @esri/calcite-components package. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone labels Jan 3, 2025
@nid13240
Copy link

nid13240 commented Jan 3, 2025

+1 also running into this in MapViewer

@geospatialem geospatialem added the ArcGIS Map Viewer Issues logged by ArcGIS Map Viewer team members. label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Map Viewer Issues logged by ArcGIS Map Viewer team members. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

3 participants