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

Fix #5349: PanelMenu fix from PrimeVue #5359

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

melloware
Copy link
Member

Fix #5349: PanelMenu fix from PrimeVue

Ported fix from PrimeVue: https://github.com/primefaces/primevue/pull/4844/files

@melloware melloware added the Core Team Issue or pull request has been *opened* by a member of Core Team label Nov 21, 2023
Copy link

vercel bot commented Nov 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
primereact ⬜️ Ignored (Inspect) Visit Preview Nov 21, 2023 4:17pm
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Nov 21, 2023 4:17pm

@@ -6,5 +6,6 @@
"@/service/*": ["service/*"],
"@/data/*": ["data/*"]
}
}
},
"exclude": ["../node_modules", "../dist"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VSCode suggested that we ignore these large folders.

@melloware melloware self-assigned this Nov 21, 2023
@akshayaqburst
Copy link
Contributor

@melloware I would have worked on it!

@akshayaqburst
Copy link
Contributor

@melloware I just cloned this locally, and I did not see this working. Were you able to get the issue fixed with this change?

@melloware
Copy link
Member Author

Let me try your exact example

@melloware
Copy link
Member Author

Yes so...

{
            label: 'Edit',
            icon: 'pi pi-fw pi-pencil',
            items: []
        },

Looks like this..
image

And if you remove item: [] like this..

        {
            label: 'Edit',
            icon: 'pi pi-fw pi-pencil',
        },

image

Which is what @dy-xiaodong2022 is saying is the correct behavior. This fixes an extra border radius from being generated on an item with no values.

@melloware melloware merged commit ea8470b into primefaces:master Nov 21, 2023
7 checks passed
@melloware melloware deleted the PR5349 branch November 21, 2023 23:31
@melloware melloware mentioned this pull request Jan 9, 2024
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team Issue or pull request has been *opened* by a member of Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PanelMenu: Menu items with no sub-items toggling border
3 participants