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 checkmark different size #7029

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

Listbox checkmark different size #7029

gimler opened this issue Dec 30, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant