Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Properties with same value not passed on mobile #439

Open
@darek607

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidRelated to Android platform.bugSomething isn't workingiOSRelated to iOS platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions