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

Select: fluid doesnt apply properly #6896

Closed
is-paranoia opened this issue Nov 29, 2024 · 0 comments · Fixed by #6897
Closed

Select: fluid doesnt apply properly #6896

is-paranoia opened this issue Nov 29, 2024 · 0 comments · Fixed by #6897
Assignees
Labels
design-token Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@is-paranoia
Copy link
Contributor

is-paranoia commented Nov 29, 2024

Describe the bug

Prop fluid doesnt spans 100% width of the container when parent have "display: flex"

  1. ✅ Works fine
    <div style="display: block;">
      <Select fluid />
    </div>
  2. ✅ Works fine
    <div style="display: flex; flex-direction: column;">
      <Select fluid />
    </div>
  3. ❌ Doesnt work
    <div style="display: flex;">
      <Select fluid />
    </div>

Reproducer

https://stackblitz.com/edit/primevue-3-use-prime-vue-issue-template-6kyd4h-a4kvsq?file=src%2FApp.vue

PrimeVue version

4.2.3

Vue version

4.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

Write code:

    <div style="display: flex;">
      <Select fluid />
    </div>

Expected behavior

Select with fluid prop spans 100% of the parent container

@is-paranoia is-paranoia added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 29, 2024
@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: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 2, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.2.5 milestone Dec 2, 2024
@tugcekucukoglu tugcekucukoglu self-assigned this Dec 2, 2024
@github-project-automation github-project-automation bot moved this to Done in PrimeVue Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design-token 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.

2 participants