menu no scroll on many items

Locked
tricky10
Posts: 79
Joined: 25 Oct 2010, 08:52
Location: Poland

23 Aug 2015, 12:16

Hi,

There is a scroll appearance problem when you have a lot of menuitems inside of one of submenus.
When you click on submenu with for example 20 menuitems the menu is properly shown but the scroll is not, you need to click one of the visible item to make the menu reaload and then the scroll is shown.

It doesn't work on RIO showcase too.
1. Go to dashboard
2. Make screen smaller - only height (half of your orginal screen)
3. Click RioTheme submenu - more items will appear unfortunetly without scroll to go down :(
4. Click on any of possible options inside RioTheme submenu - then the scroll will appear

Is there a way to fix it - it's critical for me ?

thanks,
Glassfish Application Server V3.1.2.2
Primefaces Library 3.5 FINAL
Sun Mojarra 2.1.20

mert.sincan
Posts: 4142
Joined: 29 Jun 2013, 12:38

24 Aug 2015, 10:12

I didn't replicate this issue. Can you please attach a video for us to replicate?
Maybe, you can try this code;

Code: Select all

//layoutmenu.xhtml
<style type="text/css">
   .ps-container > .ps-scrollbar-y-rail {
      opacity: 0.9;
   }
</style>
And add in layout.js;

Code: Select all

...

bindEvents: function() {

   this.menulinks.on('click',function(e) {
      ...
      $this.menuWrapper.scrollTop(20); // exp; 20
      $this.menuWrapper.perfectScrollbar("update");
   }
   ...
}

mert.sincan
Posts: 4142
Joined: 29 Jun 2013, 12:38

31 Aug 2015, 11:45

Issue is replicated. Fixed for Rio 2.0.1. You can try with Rio-2.0.1.
Premium Layouts-Themes Upgraded; http://blog.primefaces.org/?p=3609

Locked

Return to “Rio”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest