Skip to content

[Bug Report][3.5.8] Expansion Panels (variant Accordion) have no rounded corners when having 1 single expansion panel component #19379

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

Closed
kilarn123 opened this issue Mar 12, 2024 · 1 comment · Fixed by #19433
Assignees
Labels
C: VExpansionPanels T: bug Functionality that does not work as intended/expected
Milestone

Comments

@kilarn123
Copy link

Environment

Vuetify Version: 3.5.8
Vue Version: 3.4.21
Browsers: Edge 122.0.0.0
OS: Windows 10

Steps to reproduce

  • Create a v-expansion-panels with variant="accordion"
  • Add only one child : v-expansion-panel with rounded="xl"

Expected Behavior

the expansion panel should be rounded

Actual Behavior

It's only rounded if multiple expansion panels are present

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Probably heavily linked to this issue :
#16019
It has fixed the other variants but not variant="accordion"

@kilarn123
Copy link
Author

temporary fix

<!-- variant default if length === 1 (vuetify #19379) -->
<v-expansion-panels :variant="mylist.length === 1 ? 'default' : 'accordion'">

@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VExpansionPanels and removed S: triage labels Mar 26, 2024
@johnleider johnleider self-assigned this Mar 26, 2024
@johnleider johnleider added this to the v3.5.x milestone Mar 26, 2024
johnleider pushed a commit that referenced this issue Mar 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fixes #19379

Co-authored-by: Son Tran <stt@cct-technology.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VExpansionPanels T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants