panelStyle and panelStyleClass attributes to dropdown #1835

merged 1 commit into from Jan 18, 2017


None yet

2 participants

Cselt commented Jan 18, 2017


Applying attribute appendTo to the dropdown element does not have any connection to the original ui-dropdown container element.
This means when we want to style a different look to a dropdown, we cannot apply the same style to its ui-dropdown-panel element since it is attached for instance to the body and they have no custom class on them.
This is why, we have to introduce panelStyleClass to make sure we can collaborate with the original ui-dropdown element.


Attribute panelStyle is very useful when we want to apply a custom width or any other style to ui-dropdown-panel element when appendTo is also applied.

@cagataycivici cagataycivici self-assigned this Jan 18, 2017
@cagataycivici cagataycivici added this to the 2.0 milestone Jan 18, 2017
@cagataycivici cagataycivici merged commit d18574a into primefaces:master Jan 18, 2017

Thank you.

@cagataycivici cagataycivici changed the title from Added panelStyle and panelStyleClass attributes to dropdown component to panelStyle and panelStyleClass attributes to dropdown Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment