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

[TIMOB-25358](6_3_X):iOS Problem with Searchbar, SDK 6.2.0 and later #9496

Merged
merged 11 commits into from Oct 10, 2017

Conversation

vijaysingh-axway
Copy link
Contributor

@sgtcoolguy sgtcoolguy added the ios label Oct 2, 2017
@@ -1639,7 +1639,8 @@ -(void)updateSearchView

if (tableHeaderView == nil)
{
CGRect wrapperFrame = CGRectMake(0, 0, [tableview bounds].size.width, TI_NAVBAR_HEIGHT);
CGFloat wrapperHeight = [TiUtils isIOS11OrGreater] ? 56.0 : 44.0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No hardcoded Values please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean I should use macro for same similar to previous implementation ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Or if possible get the height from the actual parent frame. Hardcoded values are the worst, we should try to avoid it at any time.

@ewieberappc
Copy link
Contributor

FR Passed. Searchbar search results correctly appear on top of the view and not shifted to the side. Tested using the test cases and the searchbar suite.

@ewieberappc ewieberappc merged commit 5973fc8 into tidev:6_3_X Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants