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 #2808: MegaMenu start and end template attributes #2809

Merged
merged 3 commits into from
Jul 1, 2022

Conversation

melloware
Copy link
Member

###Feature Requests
Fix #2808: MegaMenu start and end template attributes

This now brings it in line API wise with the MenuBar.

image

@melloware melloware requested a review from mertsincan April 27, 2022 18:14
@melloware melloware added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Apr 27, 2022
@@ -52,18 +52,6 @@ export const Menubar = React.memo(React.forwardRef((props, ref) => {
useCustomContent
}));

const createCustomContent = () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

This method was dead unused code in MenuBar.

@mertsincan
Copy link
Member

Hi @melloware,

Thanks a lot for this feature! Were you able to test it with orientation="vertical"? Also, can you create a separate demo for this instead of replacing the existing demo?

<h5>Templating</h5>
...

@mertsincan mertsincan added the Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. label Jul 1, 2022
@melloware
Copy link
Member Author

OK good points and I think I definitely need to do more work on vertical may need your help with some CSS 😄

@melloware
Copy link
Member Author

Fixed and updated examples.

image

@melloware melloware merged commit 857fa6b into primefaces:master Jul 1, 2022
@melloware melloware deleted the PR2808 branch July 1, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MegaMenu: Start and End templates like MenuBar
2 participants