Skip to content

Conversation

KishoreJey
Copy link
Collaborator

@KishoreJey KishoreJey commented Aug 22, 2025

Root Cause of the Issue

The root cause of the issue was an improper handling of touch event propagation within the UI hierarchy of the iOS implementation, specifically in relation to how input views were being tested for touch interactions. By not allowing all relevant views to respond to touches, the user experience was negatively affected.

Description of Change

The bug was resolved by modifying the conditions properly in the SfHorizontalContent.iOS.cs file. The adjusted implementation returns the root view directly without further checks, ensuring that any view can process touch events effectively. This allows taps to register as intended for item selection.

Issues Fixed

Fixes: #251

@KishoreJey KishoreJey changed the title 977522 : MAUI Bug (SfTabView) - Resolved the selectionchanged issue for SfTabView. Resolved the selectionchanged issue for SfTabView. Aug 22, 2025
@PaulAndersonS PaulAndersonS requested a review from Copilot August 25, 2025 06:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a touch event handling issue in the SfTabView component for iOS that was preventing proper selection change functionality. The issue was caused by improper handling of touch event propagation within the UI hierarchy.

  • Fixed bracket placement in the ShouldHandleTap method to ensure proper code execution flow
  • Corrected conditional logic structure to allow all relevant views to process touch events

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@PaulAndersonS PaulAndersonS merged commit 031c8fe into main Aug 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

CollectionView SelectionChangedCommand Not Fired Inside SfTabView in Syncfusion.Maui.Toolkit v1.0.6
2 participants