-
Notifications
You must be signed in to change notification settings - Fork 77
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
Comments
+1 also running into this in MapViewer |
+1 also have issue in Data Pipelines |
@jasdelreyes @nid13240 Here's a pure CSS solution to your problem: https://codepen.io/eriklharper/pen/PwYEjgx Because Let me know if that solution above works for you. It seems to work fine with either |
This works for Data Pipelines. Thanks! |
thank you, this also works for MapViewer! |
@eriklharper Do you know if this solution can be fed into a slot containing a flexbox? Previously a |
…d on host (#11283) **Related Issue:** [#11199 ](#11199 (comment)) ## Summary This update allows percentage `inline-size/width` styles set on slotted content to be based on the host `calcite-tile` element.
Installed and assigned for verification. |
The original ask is achievable through the workaround mentioned by Erik in this comment above, and Steven's use case above for slotted content in |
…d on host (#11283) **Related Issue:** [#11199 ](#11199 (comment)) ## Summary This update allows percentage `inline-size/width` styles set on slotted content to be based on the host `calcite-tile` element.
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
andwidth: 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 team
ArcGIS Online
The text was updated successfully, but these errors were encountered: