Bug 58351 - In ListView, ViewCell's ContextActions is disappear when swipe right to left on iOS only
Summary: In ListView, ViewCell's ContextActions is disappear when swipe right to left ...
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.4
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-07-25 04:15 UTC by Thanh Tong
Modified: 2018-03-19 09:58 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
picture for show bug (116.79 KB, image/gif)
2017-07-25 04:15 UTC, Thanh Tong
Details
DemoListViewWithContextActions (58.98 KB, application/zip)
2017-07-27 02:13 UTC, Thanh Tong
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Thanh Tong 2017-07-25 04:15:44 UTC
Created attachment 23770 [details]
picture for show bug

Hi guys,
I see a problem when using ContextActions in ViewCell.
ContextActions is disappear when swipe right to left that operated between cells quickly (iOS only).
I think that this is a bug.
I used Xamarin Form and iOS package version 2.3.4.247
I have attached a demo.
Please check it
Comment 2 Paul DiPietro [MSFT] 2017-07-26 18:59:46 UTC
We are unable to reproduce this using the linked sample project. If you are able to upload to your own reproduction displaying the issue and/or providing us with more info on this bug, we can then possibly investigate this further. This will be set to needinfo for the moment and closed if there is no response in 30 days. Thanks!
Comment 3 Thanh Tong 2017-07-27 02:13:04 UTC
Created attachment 23831 [details]
DemoListViewWithContextActions

I added my project. To reproduce, you swipe any cell on list view.
Example: I have 2 cells: cell 1 and cell 2.
As you know, when swipe cell name 1, context Actions will be displayed. If touch another cell, cell 2, context Actions of cell 1 will be hidden.
But if user swipe cell 2 after he had touch on it while context Actions of cell 1 is hiding (unfinished hide), then you can see cell 1 will not display context Actions.
Please check it. Thanks
Comment 4 Thanh Tong 2017-07-27 02:19:13 UTC
Sorry, I can not edit my comment. I fixed.

But if user swipe cell 2 after he had touch on it while context Actions of cell 1 is hiding (unfinished hide), then you can see cell 2 will not display context Actions.
Comment 5 Akshay 2017-07-31 23:26:10 UTC
We are also facing the same issue where the Context action just disappears randomly when the user tries to swipe open the context actions on the Xamarin Forms List view. There is no specific pattern to this, but somehow when you go on opening each row, and attempt to open the Context Actions of a different row, chances are the alternative row actions would become invisible.

For example:
There are 6 rows: Row 1, Row 2 ....  Row 6

Swipe open Row 1
Then Row 2 without closing Row 1
Then Row 3 without closing Row 2 and so on.. 

The observation is somehow the context actions on Row 3 or 5 would disappear. But if you close and open the same row, the options re-appear. It seems the visibility of the context actions is not getting reset based on the open/close of the rows. This seems to be the case because the visibility gets reset when the row is opened and closed again. Or the case could be that the visibility of the incorrect context actions are being set to false.

Appreciate your urgent help with this.
Comment 6 Thanh Tong 2017-08-07 02:53:54 UTC
@Paul DiPietro: I added more information. Please check it.
Comment 7 Paul DiPietro [MSFT] 2017-08-07 13:13:06 UTC
Can you please confirm if you still experience this on the nightly build (https://blog.xamarin.com/try-the-latest-in-xamarin-forms-with-nightly-builds/)? I was able to reproduce it using your reproduction with the included 2.3.4 build but not with the 2.3.6-nightly, although it is difficult to precisely reproduce the behavior.
Comment 8 Paul DiPietro [MSFT] 2017-09-19 20:41:43 UTC
Per the last message and no updates or additional reports, I'm led to believe that that issue no longer occurs as of the 2.4.0-pre2 build. If this is still reproducible on those versions, please reopen with an updated project with more concrete steps to reproduce the issue, if possible.
Comment 9 Chaitanya Dwarapudi 2018-01-23 12:29:44 UTC
Hi Pual,

This is Chaitanya. I'm facing similar issue even after updating packages(current XF package version 2.5.0.122203). Please check from your end again.


Thanks,
Chaitanya
Comment 10 Chaitanya Dwarapudi 2018-01-23 13:45:55 UTC
Hi Pual,



Here is the sample  https://github.com/xamarin/xamarin-forms-samples/tree/master/UserInterface/ListView/Interactivity/interactivityListView

I'm able to reproduce the issue even after updating XF package to 2.5.0.122203.

Here is the reference of reproducing the issue.
https://forums.xamarin.com/discussion/comment/288093#Comment_288093


Please let me know if you require more information.



Status: Not resolved