react-native/React
Nick Lockwood c16095ed85 Fixed border collapse bug
Summary:
public
The fix for border smearing introduced a bug where borders + background would sometimes not be rendered if the view was created at a small size (e.g. zero) and then resized.

This diff fixes that by redrawing the border if the view size changes. There is some opportunity to optimize this in future by performing some logic up-front to detect if the redrawing is necessary, but I thought I'd keep it simple for this bug fix rather than risk introducing further bugs.

Reviewed By: jingc

Differential Revision: D2817365

fb-gh-sync-id: eca164e8ce03a66598677c9e05496791230b5210
2016-01-08 16:15:32 -08:00
..
Base Fix extra native modules missing bridge after reload 2016-01-07 12:03:28 -08:00
Executors Add context executor API for sync hooks 2016-01-05 08:00:38 -08:00
Layout updated css-layout and fixed callsites 2015-12-21 10:18:41 -08:00
Modules Remove Hot Loading option from Dev Menu 2016-01-06 22:37:32 -08:00
Profiler Update createView C function on profiler 2016-01-07 12:03:38 -08:00
React.xcodeproj Refactor hot loading implementation on iOS 2016-01-04 10:40:32 -08:00
Views Fixed border collapse bug 2016-01-08 16:15:32 -08:00