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.

PF4 Table: fullWidth = true does not render correctly when rows are selectable or have actions in expanded content

See original GitHub issue

Describe the issue. What is the expected and unexpected behavior?

I’m using the expanded content, selectable and actions, I configured my expanded content with fullWidth=true, but the output does not render in full width.

Please provide the steps to reproduce. Feel free to link CodeSandbox or another tool. See here: https://codesandbox.io/s/recursing-keldysh-8qlci The two tables are equal, but one is selectable while the other is not. edit: Updated to include samples of code having actions on the parent row, but not on the contents.

Screenshot_2020-01-29_21-35-41

Is this a bug or enhancement? If this issue is a bug, is this issue blocking you or is there a work-around?

Bug, I don’t know any workaround.

What is your product and what release version are you targeting?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolethoencommented, Apr 26, 2022

I will make sure this issue gets triaged and added to the road map! 😃

0reactions
kmcfaulcommented, May 19, 2022

I’m still working on an internal fix to account for additional generated columns in the full width row’s colSpan, but wanted to make a note here of a workaround you can use in the meantime: passing a props object to the expanded cell that contains an override for colSpan. For example:

{
      parent: 0,
      fullWidth: true,
      cells: [
            {
              title: <div style={{ backgroundColor: 'red' }}> 'child - 1 fullWidth' </div>
              props: {colSpan: 6}
            }
      ]
}

@tlabaj

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS display:table-row does not expand when width is set to ...
This answer is incorrect. The asker's markup is correct. As Pumbaa80 says, the issue is with assuming that the width has to be...
Read more >
PatternFly 4 • Release notes
Fixed to render correctly when there is '\n' in the string array (#7681) ... Improved a11y for selectable table rows (#7447); Removed duplicate...
Read more >
Table automatically fits to the full page - Atlassian Community
Hi, Whenever I create a table in a blank confluence, Table automatically fits to the full page irrespective of 1/2 columns. I want...
Read more >
Screen User's Manual - GNU.org
1 Overview. Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
Read more >
@kui-shell/plugin-wrk - NPM Package Overview - Socket
A required dependency is not declared in package.json and may prevent ... do not properly display inverted splits (4638a80), closes #7958 ...
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