This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] iOS - ListView and CollectionView - Editor - Focus is not cleared when Editor gets out of View #10942
Labels
Projects
Description
When a Editor is placed inside a ViewCell and the Editor is currently focused while getting out of View, then the ViewCell.OnDisappearing is not called and the focus of the Editor is not cleared.
There are a few issues with this behavior:
1.) there is not always a "Done" button for an editor (f.e. NumberKeyboard)
2.) When he user scrolls down in a listview/collectionview the user can edit still the field even when it is not visible anymore
3.) i cant even workaround it as the OnDisappearing is not called at all when the editor is located inside a viewcell (The workaround would be to unfocus the editor in the ondisappearing)
4.) It causes weird rendering issues.
Steps to Reproduce
ListView:
Content = CreateListView();
)=> Editor is not unfocused
=> OnDisappearing is not called where the currently focused editor is located
CollectionView:
Content = CreateCollectionView();
) (It is commented, please uncomment it)=> Editor is not unfocused
=> OnDisappearing is not called where the currently focused editor is located
Code is added to "Repro Link"
Expected Behavior
The Editor should unfocus when its not visible anymore.
ListView: The OnDisappearing of the viewcell should be called when getting out of view even when a focused Editor is locaed inside.
Actual Behavior
Editor is not unfocused
ListView: OnDisappearing is not called
Basic Information
Screenshots
Reproduction Link
Workaround
none
The text was updated successfully, but these errors were encountered: