selectOneMenu labels get cut off in some browsers

UI Components for JSF
Post Reply
wschmitz
Posts: 29
Joined: 13 Dec 2012, 23:50

28 Jul 2014, 18:19

It seems like the SelectOneMenu rendering is very inconsistent across browsers. On the Mac Chrome and Windows Firefox, and the item label gets cut off. But in Firefox, it renders correctly. Anyone else seeing this?

Chrome (Mac, version 36.0.1985.125 - up to date)
Image

Firefox (Mac, version 31.0 - up to date)
Image

Firefox (Windows, not sure version but it is up to date)
Image

Code

Code: Select all

<p:selectOneMenu>
      <f:selectItem itemValue="a" itemLabel="Master Administrator"/>
</p:selectOneMenu>
Using Primefaces 5.0.9, Primefaces Ext 2.1.0, MyFaces JSF 2.2.0, Tomcat 7.0.54

wschmitz
Posts: 29
Joined: 13 Dec 2012, 23:50

06 Aug 2014, 15:29

Turns out that this was caused by some custom CSS in our app.

Code: Select all

* {
    margin: 0;
    padding: 0;
}
Using Primefaces 5.0.9, Primefaces Ext 2.1.0, MyFaces JSF 2.2.0, Tomcat 7.0.54

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 47 guests