Skip to content

layoutSubviews swizzling causes an infinite loop  #495

@artgoncharov

Description

@artgoncharov

Description

layoutSubviews swizzling causes issues for UIKit.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

SkeletonView Environment:

SkeletonView version: 1.29.2
Xcode version: 13.2.1
Swift version: 5

Steps to reproduce:

  1. Setup the floating keyboard on iPad
  2. Open app in a slide over mode
  3. Show a skeleton animation
  4. Focus on a textfield with a toolbar

Expected result:

Keyboard is shown

Actual result:

App freezes in the infinite loop

Attachments:

Logs, screenshots, sample project, funny gif, etc.

loop480.mov

Sample project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions