Skip to content

iOS PickerCell IsEnabled not reflecting properly #185

@AlvinKwong

Description

@AlvinKwong

Description

My app has a page that allows users to adjust the settings. But the settings will expire in 1 minute. After that, the cells will be greyed out and not allow to be configured.
The problem happens that when the user navigates to this page, one of the picker cells is enabled, though the flag is false. But after scrolling down and up again, that picker cell becomes disabled. Therefore it is suspected that there is some caching issue when reflecting the isEnabled status of the cell.
This only happens on iOS and does not happen on Android.

(For more Information, the picker cell "Recovery Detection Angle" and "Sensing Timer" are binding the same boolean in their IsEnabled properties. Therefore it should not be the program issue as if the flag is not updated properly, both cells would be enabled/disabled at the same time.)

Steps to Reproduce

  1. Create a page with a SettingsView
  2. Bind the isEnabled Flag of the cells to the ViewModels boolean properties.
  3. Set the boolean properties to false in OnNavigatedTo() method.
  4. Navigate to this page, some of the cells that are supposed to be disabled are enabled.
  5. Scroll down and up again, the cells now become disabled.

Platforms

  • Android
  • iOS

Basic Information

  • AiForms.SettingsView 1.3.28
  • Xamarin.Forms 5.0.0.2083

Video

iOS_isEnabled_Issue.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions