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.

Using a MultiSelect in a TableToolbar

See original GitHub issue

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Summary

Using a MultiSelect in a TableToolbar don’t show items.

Multiselect

Relevant information

When a MultiSelect component is added to a TableToolbar, items of MultiSelect aren’t displayed properly. There is any property to overcome this ?


        <TableContainer
          title="Sample Tile"
          description="Sample description">
          
          <TableToolbar>
            <TableToolbarContent>
              <TableToolbarSearch />
              <ToolbarItem>
                <MultiSelect id="carbon-multiselect-example" 
                  useTitleInItem={false} 
                  label="MultiSelect Label" 
                  invalid={false} 
                  invalidText="Invalid Selection" 
                  items={[
                    {id: 'table-filter-0',text: 'Successful', label :"Successful"},
                    {id: 'table-filter-1',text: 'Aborted On Error', label :"Aborted On Error"},
                  ]} />  
                </ToolbarItem>
            </TableToolbarContent>
          </TableToolbar>`

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
asudohcommented, Jul 3, 2019

Uh clip-path is for the animation of batch action selection… My apologies for that, need to look to see how both features can be achieved.

1reaction
emyarodcommented, Jul 3, 2019

@asudoh seems this is caused by clip-path, after removing that rule and increasing the z-index the issue appears resolved. from what I can tell it does not affect the toolbar animations, but want to double check on that with you

image

@nunomaia for now I believe you can add these rules as a workaround:

https://codesandbox.io/s/codesandbox-km93k

.bx--toolbar-content {
  clip-path: none;
  z-index: 1; /* some nonzero z-index value */
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Enabling Multiple Selection in Tables - SAPUI5 SDK
This feature enables you to configure whether end users can select a single row or multiple rows in a table, while triggering table...
Read more >
Selecting items in multi-select tables - IBM
To select items in multi-select tables, complete one of the following steps: Click the check box in the select column that corresponds with...
Read more >
Enabling Multiple Selection in Table | SAP Help Portal
This allows users to select multiple items from the table in the list report and then choose a simple custom action button. After...
Read more >
Material UI - MultiSelect Popup Anchor Moving on Select
I've looked through the API, and have tried specifying different anchors, but so far have not been able to keep the popup menu...
Read more >
Platform: Table - Phase 1 - Docs - GitBook
Development of base table component with 'single' and 'multiple' selection. ... <fdp-table-toolbar-actions>. <button >Edit</button>.
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