Skip to content

Changing wrap layout paddings and its view margins runtime causes a crash on iOS. #360

Closed
@vchimev

Description

@vchimev

Steps to reproduce the crash on iOS7:

  • start ui-tests-app,
  • run 'wrap' test page,
  • tap on button 'p' to set wrap layout paddings,
  • tap on button 'm' to set its margins.

or

  • start ui-tests-app,
  • run 'wrap' test page,
  • tap on button 'all',
  • tap on button 'n',
  • tap on button 'v'.

Error:
info: [IOS_SYSLOG_ROW ] Jun 26 13:03:02 vchimevmac.local TestApp[28211] : *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [20 nan]'

Steps to reproduce the crash on iOS8:

  • start ui-tests-app,
  • run 'wrap' test page,
  • tap on button 'o' to set vertical orientation of the wrap layout,
  • tap on button 'all' to set all view properties,
  • tap on button 'i' to set itemWidth and itemHeight properties of the wrap layout,
  • tap on button 'v' to set visibility equal to visible for the collapsed button.

Error:
info: [IOS_SYSLOG_ROW ] Jun 26 12:58:22 vchimevmac.local TestApp[28069]: *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 35]'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions