Form icon indicating copy to clipboard operation
Form copied to clipboard

Frame mismatch issue

Open RyanKim01 opened this issue 9 years ago • 0 comments

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
   }
}

RyanKim01 avatar Jan 13 '16 02:01 RyanKim01