Skip to content
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

Table Component | Pinned Column | Dropdown Issue #2009

Open
Zapro116 opened this issue Oct 20, 2023 · 1 comment
Open

Table Component | Pinned Column | Dropdown Issue #2009

Zapro116 opened this issue Oct 20, 2023 · 1 comment
Assignees
Labels
good first issue Good for newcomers hacktoberfest https://hacktoberfest.digitalocean.com

Comments

@Zapro116
Copy link

Description

  1. The dropdown option is not behaving correctly when it is applied to a pinned column on the <Table /> Component.
  2. Also the width manipulation is not properly implemented. When width is lower than 10%, the width property is not working.
image
image

Steps to reproduce

  1. Render a table component.
  2. Pass a pinned column in schema with below configuration .
    { name: 'someName', displayName: '', pinned: 'right', sorting: false, cellRenderer: (props) => { const { data } = props; return ( <div className="d-flex align-items-center justify-content-end flex-grow-1"> <Dropdown triggerOptions={{ customTrigger: () => <Button icon="more_horiz" appearance="transparent" /> }} menu={true} className="d-flex" align="left" options={[ { label: 'A', value: 'A', icon: 'some_icon', optionType: 'WITH_ICON' }, { label: 'B', value: 'B', icon: 'some_icon', optionType: 'WITH_ICON' } ]} popoverOptions={{ appendToBody: false, hideOnReferenceEscape: false }} /> </div> ); } }

Expected result

  1. The options should be rendering on top of pinned columns, just like it does when we click the button on the pinned column for the last two rows.
  2. Please provide a minimum width also on the schema section to properly manipulate it.

Actual result

  1. The dropdown option is not behaving correctly when it is applied to a pinned column. Visit above images for more information.
  2. Width when lowered below 10%, it has no effect and minimum width is set as 10%.
@satyamyadav satyamyadav added the good first issue Good for newcomers label Nov 1, 2023
@anuradha9712 anuradha9712 added the hacktoberfest https://hacktoberfest.digitalocean.com label Oct 1, 2024
@nadaanbaalak
Copy link

@anuradha9712 I'm picking this up, please assign this to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest https://hacktoberfest.digitalocean.com
Projects
None yet
Development

No branches or pull requests

4 participants