escoz / QuickDialog

QuickDialog - Quick and easy dialog screens for iOS

Home Page:http://escoz.com/open-source/quickdialog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hide text during typing

thanhtungka91 opened this issue · comments

Hey guys,

I am using QMultilineElement for implement text during the input text, the line has been changed position, is it bug?

QMultilineElement *descriptionSectionElement = [[QMultilineElement alloc] initWithTitle:@"test" Value:nil];
    descriptionSectionElement.delegate = self;
[descriptionSection addElement:descriptionSectionElement];

Untitled.zip

i see that the problem come from the file
QuickDialog/quickdialog/QMultilineTextViewController.m
up ? keyboardFrame.size.heigh : 0

[UIView animateWithDuration:animationDuration delay:0 options:animationCurve animations:^{ CGRect keyboardFrame = [self.view convertRect:keyboardEndFrame toView:nil]; _textView.contentInset = UIEdgeInsetsMake(0.0, 0.0, up ? keyboardFrame.size.heigh : 0, 0.0); } completion:NULL];

but i dont think that it is bug?