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

Allow this to work inside tab view controllers #279

Closed
wants to merge 1 commit into from

Commits on Oct 5, 2017

  1. Allow this to work inside tab view controllers

    How? If the view will appear in a view controller that will use a tab bar, enable the "inTabViewController" inspector
    attribute to prevent issues
    
    Why? A view anchored to the top of a tab bar has its position compromised because the tab view animates downwards when the keyboard appears. This position, where the top of the tab bar is at the bottom of the visible screen results in a view that is slightly hidden by the tab bar. 
    
    More briefly, when the tab bar animates away, the topOffset is the distance to the bottom of the screen and not to the top of tab bar.
    NduatiK committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    355cfbd View commit details
    Browse the repository at this point in the history