CommunityToolkit / CommunityToolkit/Maui
[BUG] iOS: Slider unresponsive if parent view has TouchBehavior
- Dominant language
- C#
- Stars
- 2.7k
- Forks
- 500
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 7
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Did you read the "Reporting a bug" section on Contributing file?
- [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
### Current Behavior
The first tap and drag works, however after that the slider remains unresponsive.
https://github.com/user-attachments/assets/accc4a03-2ab6-49a1-9b89-1e124b76719f
### Expected Behavior
The Slider should work regardless of a behavior in the parent view.
### Steps To Reproduce
1. Open and run the reproduction repo on a iOS device
2. Observe the bug
### Link to public reproduction project repository
https://github.com/jurganson/iOS_Slider_Broken_Inside_TouchBehavior_View
### Environment
```markdown
- .NET MAUI CommunityToolkit: 8.0.1
- OS: iOS
- .NET MAUI: 8.0.4
```
### Anything else?
_No response_
Contributor guide
Research direction
Start by running the linked iOS_Slider_Broken_Inside_TouchBehavior_View reproduction on an iOS device with the listed .NET MAUI and CommunityToolkit versions. Trace the slider and parent TouchBehavior interaction to identify why the control stops responding after the first gesture; done means repeated taps and drags work while the parent behavior remains present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100