Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

View transition bug when keyboard show, only in iOS 11 #592

Open
chy89310 opened this issue Jul 19, 2018 · 7 comments
Open

View transition bug when keyboard show, only in iOS 11 #592

chy89310 opened this issue Jul 19, 2018 · 7 comments

Comments

@chy89310
Copy link
Contributor

chy89310 commented Jul 19, 2018

Hi, I have a problem when i try to run this project in a iOS11 device.

For detail check the gif:
jul-19-2018 12-49-44

I happen only in iOS11, on both iphone and ipad.

@chy89310
Copy link
Contributor Author

If you want some details, here is my demo code:

# ViewController
- (IBAction)didButtonClick:(id)sender {
    NSArray *JSON = [NSJSONSerialization JSONObjectWithContentsOfFile:@"json.json"];
    FORMViewController *ctrl = [[FORMViewController alloc] initWithJSON:JSON andInitialValues:nil disabled:false];
    [self presentViewController:ctrl animated:true completion:nil];
}

here is the json content

# json.json
 [
  {
  "id":"group-id",
  "title":"Group title",
  "sections":[
              {
              "id":"section-0",
              "fields":[
                        {
                        "id":"first_name",
                        "title":"First name",
                        "type":"name",
                        "size":{
                        "width":30,
                        "height":1
                        }
                        }
                        ]
              }
              ]
  }
  ]

@AnthoPakPak
Copy link
Contributor

I've got this issue too, library is no longer usable with it… 😥

@chy89310
Copy link
Contributor Author

chy89310 commented Oct 9, 2018

I've got this issue too, library is no longer usable with it… 😥

you can refer to my commit in a fork repo. Which can solve the problem simply.

kevinsumios@c06ada3

@AnthoPakPak
Copy link
Contributor

@chy89310 Thanks, I'll give it a try ! 👍
From what I've see, you've simply removed all keyboard related stuff. Did you add another keyboard management or library (such as IQKeyboardManager) to handle view moving when opening keyboard ?

@chy89310
Copy link
Contributor Author

chy89310 commented Oct 9, 2018

@chy89310 Thanks, I'll give it a try ! 👍
From what I've see, you've simply removed all keyboard related stuff. Did you add another keyboard management or library (such as IQKeyboardManager) to handle view moving when opening keyboard ?

Actually i don't, and that's the same problem i curious about. Since this work around works for me, i don't take much time to learn about how the view move by it self even though i remove the notification observer. Maybe it's a new feature of iOS 11 i guess.

@AnthoPakPak
Copy link
Contributor

@chy89310 Okay, I will look into it tomorrow and give you some feedback 😉

@3lvis
Copy link
Owner

3lvis commented Oct 9, 2018

I guess this is iOS 11 and above?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants