Skip to content

[iOS] ListView Cell with ContextActions may not show buttons sometimes #28912

Open
@VitalyKnyazev

Description

@VitalyKnyazev

Description

When a cell with context actions is first swiped right just a little bit (shaking finger?) and then without releasing dragged left then context buttons can stay hidden.
This happens because while dragging back we cross zero offset and ContextScrollViewDelegate.Scrolled method thinks that it is time to stop scrolling and hides the buttons.

Image

Image

Steps to Reproduce

  1. Create a page with ListView and cells that have one or more ContextActions
  2. Launch on iOS
  3. Tap and hold a cell, swipe right 2-5 pixels, not release and drag the cell left
  4. Roughly 20% chances that the context buttons will not appear.

Link to public reproduction project repository

https://github.com/VitalyKnyazev/ListViewWithHiddenContextActions

Version with bug

9.0.50 SR5

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No, small MAUI code change is needed

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-listviewListView and TableViewplatform/iOS 🍎s/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