tleunen/react-mdl

Menu items get broken after update

开放

#400 创建于 2016年9月19日

 (2 条评论) (0 个反应) (0 位负责人)CSS (259 个派生)batch import
bughelp wanted

仓库指标

星标
 (1,772 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南