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

貢獻者指南