Skip to content

Gray Line Appears on the Right Side of GraphicsView with Decimal WidthRequest on iOS Platform #25502

@surya3655

Description

@surya3655

Description

When trying to draw something using GraphicsView and IDrawable, if the WidthRequest is set to a decimal value like 0.25 or 0.75 and a background is applied to the GraphicsView, a gray line appears on the right side of the view on the iOS platform.

Steps to Reproduce

  1. Create a new class GraphicsDrawable that implements the IDrawable interface.
  2. Implement the Draw method in the class.
  3. Attach this GraphicsDrawable class to a control that requires drawing, such as a GraphicsView. Set the drawable to an instance of GraphicsDrawable, and configure the GraphicsView with the following properties:
  4. Set the Background to white.
  5. Set the WidthRequest to 498.25.
  6. Run the application.
  7. You will observe a gray line appearing on the right side of the GraphicsView on the iOS platform.

Link to public reproduction project repository

https://github.com/surya3655/DrawingIssue.git

Version with bug

8.0.92 SR9.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

Affected platform versions

IPAD 17.4, 10generation

Did you find any workaround?

No

Relevant log output

Output
IOS:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/ioss/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