0

I have a YUI (2.8.x) MenuButton that is lazily loaded via an AJAX call. I'm not doing anything special to limit the number of items visible at one time. When the items are first loaded, they are all visible, even if the page has to be extended to fit them, but each time you display it after that, the menu is size-constrained to the viewport and you get up/down scroll arrows. Is there a way to force that behavior for the first click?

Charles
  • 50,943
  • 13
  • 104
  • 142
Hank Gay
  • 70,339
  • 36
  • 160
  • 222

1 Answers1

0

As a workaround, I just hide() and then show() it. That is clearly suboptimal, but at least the user experience is a little better.

Hank Gay
  • 70,339
  • 36
  • 160
  • 222