Skip to content

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

Closed

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]'

Activity

  1. added this to the 1.2.0 milestone on Jul 8, 2015
  2. modified the milestones: 1.2.0, 1.3.0 on Jul 30, 2015
  3. added 2 commits that reference this issue on Aug 28, 2015
  4. added
    ready for test
    on Aug 28, 2015
  5. added and removed
    ready for test
    on Sep 11, 2015
  6. added 2 commits that reference this issue on Mar 20, 2019
  7. lock commented on Aug 31, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  8. locked and limited conversation to collaborators on Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions