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

Listbox and Select: checkmark different size #7029

Closed
1 of 4 tasks
gimler opened this issue Dec 30, 2024 · 0 comments
Closed
1 of 4 tasks

Listbox and Select: checkmark different size #7029

gimler opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@gimler
Copy link

gimler commented Dec 30, 2024

Describe the bug

Then the text of an option is to long the checkmark icon size is to small
grafik

<template>
  <ThemeSwitcher />
  <div class="card flex justify-center">
    <Listbox
      multiple
      checkmark
      :highlightOnSelect="false"
      v-model="selectedCity"
      :options="cities"
      filter
      optionLabel="name"
      class="w-full md:w-56"
    />
  </div>
</template>

<script setup>
import { ref } from 'vue';

const selectedCity = ref();
const cities = ref([
  { name: 'New York the place to live or not it depends', code: 'NY' },
  { name: 'Rome', code: 'RM' },
  { name: 'London', code: 'LDN' },
  { name: 'Istanbul', code: 'IST' },
  { name: 'Paris', code: 'PRS' },
]);
</script>

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/8b9nurqm?file=src%2FApp.vue

Environment

stackblitz

Vue version

3.2.45

PrimeVue version

4.2.5

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

add an option with long label

Expected behavior

same checkbox size for all options

@gimler gimler added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 30, 2024
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 6, 2025
@mertsincan mertsincan added this to the 4.3.0 milestone Jan 6, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Jan 6, 2025
@tugcekucukoglu tugcekucukoglu changed the title Listbox checkmark different size Listbox and Select: checkmark different size Jan 7, 2025
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working design-token and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jan 7, 2025
@tugcekucukoglu tugcekucukoglu self-assigned this Jan 7, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeVue Jan 7, 2025
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
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants