Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions XLForm/XL/Controllers/XLFormViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,9 @@ - (void)contentSizeCategoryChanged:(NSNotification *)notification

- (void)keyboardWillShow:(NSNotification *)notification
{
if (_form.rowNavigationOptions == XLFormRowNavigationOption3rdParty)
return;

UIView * firstResponderView = [self.tableView findFirstResponder];
UITableViewCell<XLFormDescriptorCell> * cell = [firstResponderView formDescriptorCell];
if (cell){
Expand All @@ -528,6 +531,9 @@ - (void)keyboardWillShow:(NSNotification *)notification

- (void)keyboardWillHide:(NSNotification *)notification
{
if (_form.rowNavigationOptions == XLFormRowNavigationOption3rdParty)
return;

UIView * firstResponderView = [self.tableView findFirstResponder];
UITableViewCell<XLFormDescriptorCell> * cell = [firstResponderView formDescriptorCell];
if (cell){
Expand Down
1 change: 1 addition & 0 deletions XLForm/XL/Descriptors/XLFormDescriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ typedef NS_OPTIONS(NSUInteger, XLFormRowNavigationOptions) {
XLFormRowNavigationOptionStopDisableRow = 1 << 1,
XLFormRowNavigationOptionSkipCanNotBecomeFirstResponderRow = 1 << 2,
XLFormRowNavigationOptionStopInlineRow = 1 << 3,
XLFormRowNavigationOption3rdParty = 1 << 4
};

@class XLFormSectionDescriptor;
Expand Down