We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@carbon/react
Chrome
v10
v21.6.2
Problem: There was a conflict between BatchAction and Filter(Popover) in TableToolbarContent of DataTable.
Filter(Popover) worked well before added TableBatchAction.
It couldn't show Filter(Popover) after added TableBatchAction. <TableBatchAction tabIndex={hasBatchActions ? 0 : -1} renderIcon={Delete} onClick={handleDeleteRows} > Delete {BatchToolbar}
Solution: The clipPath set none when no selection, it works. Thanks for Jose @jose-biescas , he gave the solution, very very smart solution..
<TableToolbarContent style={{ clipPath: BatchToolbar && selectedRowsCountInFiltered > 0 ? "polygon(0 0, 100% 0, 100% 0, 0 0)" : "none", }} aria-hidden={hasBatchActions} >... </TableToolbarContent> However please resolve this in future release , thanks!!!
https://stackblitz.com/edit/github-cygrgo?file=src%2FApp.jsx
None
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Package
@carbon/react
Browser
Chrome
Package version
v10
React version
v21.6.2
Description
Problem:
There was a conflict between BatchAction and Filter(Popover) in TableToolbarContent of DataTable.
Filter(Popover) worked well before added TableBatchAction.
It couldn't show Filter(Popover) after added TableBatchAction.
<TableBatchAction
tabIndex={hasBatchActions ? 0 : -1}
renderIcon={Delete}
onClick={handleDeleteRows}
>
Delete
{BatchToolbar}
Solution:
The clipPath set none when no selection, it works. Thanks for Jose @jose-biescas , he gave the solution, very very smart solution..
Reproduction/example
https://stackblitz.com/edit/github-cygrgo?file=src%2FApp.jsx
Steps to reproduce
it worked.
it failed
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: