Unable to disable distance handling for UIHostingControllers
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
Research direction
Start by locating the existing disabledDistanceHandlingClasses property and the distance-handling logic that matches classes. Trace how UIHostingControllers and SwiftUI view types are identified, then determine where the requested disabledDistanceForUIHostingViewControllers option belongs. Done means callers can disable distance handling for UIHostingControllers without disabling it for unrelated views.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
There's disabledDistanceHandlingClasses property but it cannot be used for UIHostingControllers because of the class matching, you cannot add any kind of exception that would exclude UIHostingControllers for specific view type or even for all of SwiftUI types
Describe the solution you'd like
Add a property disabledDistanceForUIHostingViewControllers.
Describe alternatives you've considered
I'm not sure if other ways are stable enough, seems like disabling the distance handling for all SwiftUI views is the only way to fix it.
Additional context
Nope
- Dominant language
- Swift
- Stars
- 16.6k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hackiftekhar/IQKeyboardManager
-
Xcode 27 UpdateOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
hackiftekhar/IQKeyboardManager#2184 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
hackiftekhar/IQKeyboardManager#2181 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
hackiftekhar/IQKeyboardManager#2180 · 1 comment ·
-
UI OptimizationOpen
Difficulty 4/5 3-5 days Newbie friendliness 38/100
hackiftekhar/IQKeyboardManager#2178 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
hackiftekhar/IQKeyboardManager#2165 · 2 comments ·
All issues in hackiftekhar/IQKeyboardManager
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
521xueweihan/HelloGitHub#3870 ·
-
🐛 bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
margelo/react-native-vision-camera#4211 ·
Maintainers usually reply within 4 days
-
TokenIterator.prepare drops LMOutput.State in the .logits branch, breaking generation for every VLMOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ml-explore/mlx-swift-lm#681 ·
Maintainers usually reply within 2 days
-
p: pigeon team-ecosystem
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100