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

Column: rowtogglericon slot does not expose p-row-toggler-icon class #4398

Closed
Magiczne opened this issue Sep 6, 2023 · 0 comments
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Magiczne
Copy link
Contributor

Magiczne commented Sep 6, 2023

Describe the bug

When trying to overwrite rowtogglericon slot of the Column component the p-row-toggler-icon is not exposed to the slot to be applied to the icon.

Reproducer

<Column expander>
  <template #rowtogglericon="{ rowExpanded }">
    <!-- Here the class is not exposed and must be inserted manually -->
   <span class="p-row-toggler-icon">custom icon</span>
  </template>
</Column>

PrimeVue version

3.33.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

<Column expander>
  <template #rowtogglericon="{ class: iconClass, rowExpanded }">
   <span :class="iconClass">custom icon</span>
  </template>
</Column>
@Magiczne Magiczne added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 6, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.34.1 milestone Sep 6, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 6, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants