mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-12 10:26:49 +08:00
Summary: That's interesting! If we apply `display: none;` style to some node, Yoga will stop calculation layout for this subtree (which is reasonable). So, from RN perspective we have to stop applying layout for hidden subtree because it is meaningless and causes another errors. Note: We do actually not support `display: none;` yet. It stops computing layout, but it does not hide the views! Reviewed By: javache Differential Revision: D5168651 fbshipit-source-id: 29a9385c76a0f9d637285fc0d268ccc39879ca0a