Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Revert "Modifies view constraints so the typing indicator view doesn'…
Browse files Browse the repository at this point in the history
…t push the tableView up and down anymore"

This reverts commit 7ddc7bc.
  • Loading branch information
Ignacio Romero Zurbuchen committed Mar 31, 2016
1 parent 6ad4718 commit 6e99e32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Source/SLKTextViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ - (BOOL)slk_updateKeyboardStatus:(SLKKeyboardStatus)status
}


#pragma mark - Public & Subclass Callbacks Methods
#pragma mark - Public & Subclassable Methods

- (void)presentKeyboard:(BOOL)animated
{
Expand Down Expand Up @@ -2135,8 +2135,7 @@ - (void)slk_setupViewConstraints
@"textInputbar": self.textInputbar,
};

[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[scrollView(0@750)][textInputbar(0)]|" options:0 metrics:nil views:views]];
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:[typingIndicatorView(0)]-0@999-[textInputbar]|" options:0 metrics:nil views:views]];
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[scrollView(0@750)][typingIndicatorView(0)]-0@999-[textInputbar(0)]|" options:0 metrics:nil views:views]];
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-(>=0)-[autoCompletionView(0@750)][typingIndicatorView]" options:0 metrics:nil views:views]];
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[scrollView]|" options:0 metrics:nil views:views]];
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[autoCompletionView]|" options:0 metrics:nil views:views]];
Expand Down

0 comments on commit 6e99e32

Please sign in to comment.