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

Frame mismatch issue #504

Open
RyanKim01 opened this issue Jan 13, 2016 · 0 comments
Open

Frame mismatch issue #504

RyanKim01 opened this issue Jan 13, 2016 · 0 comments

Comments

@RyanKim01
Copy link

When I'm instantiating my FORMViewController, it prints out below error in the console:
""Logging only once for UICollectionViewFlowLayout cache mismatched frame
UICollectionViewFlowLayout has cached frame mismatch for index path <NSIndexPath: 0xc000000000000316> {length = 2, path = 3 - 0} - cached value: {{15, 681.5}, {369, 85}}; expected value: {{199.5, 681.5}, {369, 85}}
This is likely occurring because the flow layout subclass FORMLayout is modifying attributes returned by UICollectionViewFlowLayout without copying them""
I have one subtitleCustomField in this viewcontroller and other fields are normal types of fields.

Would this error on the console have anything to do with a bug of not showing info yellow popover when textfield is clicked? I set the info field in json file like below, but it still does not work. Below is how I formatted my json for the field which is causing an error with yellow popover.

{
   "id":"1_5_phone_number",
   "title":"Phone Number",
   "info":"Always write \"NA\"",
   "type":"text",
   "disabled":false,
   "size":{
      "width":50,
      "height":1
   },
   "validations":{
      "required":true,
      "min_length":2
   }
}
@3lvis 3lvis self-assigned this May 3, 2016
@3lvis 3lvis removed their assignment Jan 21, 2017
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

2 participants