.placeholderMenu.ui-menu.ui-menu-dynamic { height: 300px; overflow-y: auto; }

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
rider
Posts: 497
Joined: 05 Mar 2010, 13:17

14 Apr 2021, 20:16

Hi Primetek,

I would like to have a p:tieredMenu with many menuItems.
Unfortunately the number of items is too much, therefore I would like to have a maximum height from the menu and than scrolling.

I´ve tried this CSS

Code: Select all

.placeholderMenu.ui-menu.ui-menu-dynamic {
    height: 300px;
    overflow-y: auto;
}
The first menu is than working as expected, but if I choose one of the menu to get the second menu than I have the problem, that the second menu will never appear.

I´ve tried already:

Code: Select all

		<p:commandButton id="placeholderButton" value="Placeholder"
													 type="button"
													icon="fa fa-eyedropper" styleClass="Fs12 White"/>
												<p:tieredMenu
													model="#{placeholderMenuNotLazyController.findAllPlaceholderByEditor('editorPredefinedTextWidgetVar')}"
													overlay="true" trigger="placeholderButton" my="left top"
													at="left bottom" styleClass="placeholderMenu"  />

How can this be fixed?
Primefaces 12.0, WildFly 21

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

20 Apr 2021, 11:27

Hi,

@burak Could you please check this issue?

Best Regards,

rider
Posts: 497
Joined: 05 Mar 2010, 13:17

27 Apr 2021, 07:00

Primetek, any feedback?
Primefaces 12.0, WildFly 21

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

04 May 2021, 15:47

Hi,

Really sorry for late response. I don't think this is a theme issue. You can follow one of these two options:

Open new issue on Github: https://github.com/primefaces/primeface ... new/choose
Ask PrimeFaces JSF Forum: viewforum.php?f=3

Best Regards,

Post Reply

Return to “Morpheus - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests