tleunen/react-mdl

Menu items get broken after update

Open

#400 opened on Sep 19, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)CSS (1,772 stars) (259 forks)batch import
bughelp wanted

Description

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