Janic Duplessis
|
4420e391ab
|
Fix InputAccessoryView safe area when not attached to a TextInput (#21179)
Summary:
When using an InputAccessoryView attached to a TextInput the safe area insets are not applied properly. This uses different autolayout constraints that works in all cases I tested, roughly based on the technique used here https://github.com/stockx/SafeAreaInputAccessoryViewWrapperView/blob/master/SafeAreaInputAccessoryViewWrapperView/Classes/SafeAreaInputAccessoryViewWrapperView.swift#L38.
Pull Request resolved: https://github.com/facebook/react-native/pull/21179
Differential Revision: D9928503
Pulled By: hramos
fbshipit-source-id: b1b623334558093042fd94ac85e1b52dd16aa1a0
|
2018-11-06 10:39:20 +00:00 |
|