question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CollapsiblePanel: panel's content doesn't grow over the full container's width

See original GitHub issue

Describe the bug CollapsiblePanel’s content doesn’t grow over the full container’s width.

To Reproduce Steps to reproduce the behavior:

Check the following code:

import {
  Card,
  CollapsiblePanel, Spacings, TextField
} from "@commercetools-frontend/ui-kit";

<CollapsiblePanel
  header={
    <CollapsiblePanel.Header>Collapsible Panel Header</CollapsiblePanel.Header>
  }
>
  <Spacings.Inline>
    <Card type="flat">
      <TextField name="variant-sku" title="SKU" horizontalConstraint={11} />
    </Card>
    <Card type="flat">
      <TextField name="variant-key" title="Key" horizontalConstraint={11} />
    </Card>
  </Spacings.Inline>
</CollapsiblePanel>;

Expected behavior CollapsiblePanel’s content should grow over the full container’s width.

Screenshots

CleanShot 2021-12-10 at 19 19 19@2x CleanShot 2021-12-10 at 19 19 38@2x

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
emmenkocommented, Dec 22, 2021

Thanks for reporting. We’ll take a look at this and see what we can do.

0reactions
karkcommented, Mar 9, 2022

Many thanks again for your reply and providing the code sample. We will need more time for researching how the defaults would influence all the use cases

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expand a div to fill the remaining width - Stack Overflow
I want the 'view' div to expand to the whole width available after 'tree' div has filled needed space. Currently, my 'view' div...
Read more >
Implementing A Pure CSS Collapsible - DigitalOcean
In this post we'll make use of the :checked and adjacent sibling selectors to create an accessible and CSS-only collapsible.
Read more >
Full Width Panel Inside FlowLayoutPanel in UI for WinForms
Inside the FlowLayoutPanel I want to have full width Panels. ... "Anchor Left Right" the control doesn't grow automatically in the Designer.
Read more >
Overflowing content - Learn web development | MDN
This box has a height and a width. This means that if there is too much content to be displayed within the assigned...
Read more >
Cards - Bootstrap
Below is an example of a basic card with mixed content and a fixed width. Cards have no fixed width to start, so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found