tleunen/react-mdl

Menu items get broken after update

Aperta

#400 aperta il 19 set 2016

 (2 commenti) (0 reazioni) (0 assegnatari)CSS (259 fork)batch import
bughelp wanted

Metriche repository

Star
 (1772 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor