Skip to content

Properties with same value not passed on mobile #439

Open

Description

@darek607

< Main issue

When the "single action" property, like scrollToItem is set with the same value again, we don't get the value in the native components manager, because we probably compare the old and new value in the platform factory and call the update only if the value has changed. But sometimes it's not desirable - look at the following example:

  1. Create ListView with some items and set the scrollToItem property to 3 (for example).
  1. Run the scene and scroll manually the list view to any other item.
  1. Set dynamically scrollToItem property again to 3

Result: On Android (and probably on iOS also) the list is not scrolled again to item 3. On Lumin the problem does not occur.

Activity

  1. added
    bug
    Android
    iOS
    on Feb 25, 2020
  2. grozdanov commented on Mar 27, 2020

    @grozdanov
    Contributor

    MXSCOMP-213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidbugiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions