dekatotoro / dekatotoro/SlideMenuControllerSwift

iOS 13, pan gesture freezes app

Open
#438 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.4k
Forks
742
PR merge metrics
No merged PRs in 30d

Description

On iOS 13, apps freezes when trying to open or close the left menu by pan gesture. Having 100% load on the cpu.

When overwriting the gesture handler, using only openleft() on state .began it works like a charme. What is all the other stuff in handleLeftPanGesture used for? Heavy overload for no effect....

Contributor guide

No contributing guide indexed for this repository

Research direction

The entry point mentioned is handleLeftPanGesture; first reproduce the freeze on iOS 13 while opening and closing the left menu, then trace that handler's gesture states and CPU behavior. Done means the pan gesture no longer freezes the app or drives CPU to 100%.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.