react-native/Libraries/Text/TextInput
Janic Duplessis 2191eecf54 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-09-18 18:31:51 -07:00
..
Multiline Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Singleline Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBackedTextInputDelegate.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBackedTextInputDelegateAdapter.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBackedTextInputDelegateAdapter.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBackedTextInputViewProtocol.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBaseTextInputShadowView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBaseTextInputShadowView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBaseTextInputView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBaseTextInputView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBaseTextInputViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBaseTextInputViewManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTInputAccessoryShadowView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTInputAccessoryShadowView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTInputAccessoryView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTInputAccessoryView.m Fix InputAccessoryView safe area when not attached to a TextInput (#21179) 2018-09-18 18:31:51 -07:00
RCTInputAccessoryViewContent.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTInputAccessoryViewContent.m Fix InputAccessoryView safe area when not attached to a TextInput (#21179) 2018-09-18 18:31:51 -07:00
RCTInputAccessoryViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTInputAccessoryViewManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTTextSelection.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTTextSelection.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00