tleunen/react-mdl

Menu items get broken after update

Open

#400 geöffnet am 19. Sept. 2016

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)CSS (1.772 Stars) (259 Forks)batch import
bughelp wanted

Beschreibung

I've created component that renders Menu with 3 items ['a', 'b', 'c'] from state. That works fine. Then I update component state items to ['a', 'x', 'y']. Component re-renders menu, but updated items are broken - they does not hide after click.

Please have a look on codepen for that: http://codepen.io/anon/pen/gwwKvk?editors=0011

Contributor Guide