Skip to content

GraphicsView event handlers are triggered even when IsEnabled is set to False #30649

@nivetha-nagalingam

Description

@nivetha-nagalingam

Description

In GraphicsView control, the IsEnabled property is expected to control whether the view receives user input events. However, even when IsEnabled is explicitly set to False, the event handlers are still being triggered, which is incorrect behavior. According to expected behavior, setting IsEnabled = False should suppress all interaction events on the widget.
The issue occurs on Android, iOS, and Mac platforms, while it behaves correctly on Windows.

Screen.Recording.2025-07-16.at.3.20.53.PM.mov

Steps to Reproduce

  1. Launch the application GraphicsViewIsEnabledIssue.zip
  2. Switch off the IsEnabled property of the GraphicsView.
  3. Interact with the shapes inside the GraphicsView.
  4. Observe the interaction results.

Expected Behavior:

  • When IsEnabled = True: GraphicsView should process and raise input events like mouse clicks and movement.
  • When IsEnabled = False: All input events should not be triggered.

Actual Behavior:

  • Events are raised and handled regardless of the IsEnabled value.
  • The view remains interactive even when it is supposed to be disabled.

Link to public reproduction project repository

No response

Version with bug

9.0.82 SR8.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions