0

I am using <rich:popupPanel> tag,rich:popup panel provides default scroll bar when the data is huge,I am using my custom scroll bar instead of this. is there a way to hide the default scroll bar which is provided by <rich:popupPanel> tag.

<rich:popupPanel id="termEditPanel"
                 followByScroll="true"
                 autosized="true"
                 modal="true"
                 resizeable="false"
                 moveable="false"
                 styleClass="popup term-editor-panel"
                 rendered="#{agreements.agreement.editable}" 
                 zindex="1000">
Tiny
  • 27,221
  • 105
  • 339
  • 599
balu
  • 21
  • 6
  • 1
    possible duplicate of [rich:popupPanel always show scrollbars](http://stackoverflow.com/questions/13030998/richpopuppanel-always-show-scrollbars) – kulotskie Aug 27 '15 at 08:53

1 Answers1

-1

you can add next style to page for override native richfaces pop-up style

<h:outputStylesheet>
        .rf-pp-cnt-scrlr {
            overflow: hidden !important;
        }
</h:outputStylesheet>

or use style

<rich:popupPanel id="category"
                     modal="true"
                     resizeable="false"
                     autosized="false"
                     width="300"
                     height="300"
                     styleClass="popUpMain"
                     style="overflow:hidden !important;"
                     domElementAttachment="form"
                     onmaskclick="#{rich:component('category')}.hide()">
Slyvain
  • 1,732
  • 3
  • 23
  • 27
delovepr
  • 71
  • 1
  • 1
  • 6