Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added TPKeyboardAvoidingAdditionsOptions protocol #210

Closed
wants to merge 1 commit into from

Conversation

mrtristan
Copy link
Contributor

to allow for views to override specific pieces of functionality as needed

added TPKeyboardAvoiding_idealOffsetForViewAlwaysTop to allow views to be able to float to the top instead of middle
use case: have an 'autocomplete' style dropdown for one of my textfields. Need as much room as possible between the field and the keyboard, this will (safely) alter the math in calculating the scroll position so the textfield can specify that it needs to be on the top instead of the middle

…to override specific pieces of functionality as needed

added TPKeyboardAvoiding_idealOffsetForViewAlwaysTop to allow views to be able to float to the top instead of middle
	use case: have an 'autocomplete' style dropdown for one of my textfields. Need as much room as possible between the field and the keyboard, this will (safely) alter the math in calculating the scroll position so the textfield can specify that it needs to be on the top instead of the middle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants