tleunen/react-mdl

Menu items get broken after update

Open

#400 创建于 2016年9月19日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)CSS (1,772 star) (259 fork)batch import
bughelp wanted

描述

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

贡献者指南