priority-nav-scroller icon indicating copy to clipboard operation
priority-nav-scroller copied to clipboard

Force update of nav scroller, after dynamically changing number of items?

Open muratkemaldar opened this issue 6 years ago • 1 comments

Hi!

I am trying to combine this React and I want to populate the items of the nav-scroller dynamically. I call PriorityNavScroller(); at the very beginning, and then I change the number of items, but the buttons (left and right) don't appear until I resize the window.

How can I tell the priority nav scroller to update itself, after I have changed the number of items?

Kind regards, Murat

muratkemaldar avatar Jun 21 '18 18:06 muratkemaldar

There is currently no update method but adding one should be trivial. I will look into this once I have some time to spare.

NigelOToole avatar Jun 25 '18 15:06 NigelOToole