Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properties with same value not passed on mobile #439

Open
darek607 opened this issue Feb 25, 2020 · 1 comment
Open

Properties with same value not passed on mobile #439

darek607 opened this issue Feb 25, 2020 · 1 comment
Labels
Android Related to Android platform. bug Something isn't working iOS Related to iOS platform.

Comments

@darek607
Copy link
Contributor

< 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.

@darek607 darek607 added bug Something isn't working Android Related to Android platform. iOS Related to iOS platform. labels Feb 25, 2020
@grozdanov
Copy link
Contributor

MXSCOMP-213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Related to Android platform. bug Something isn't working iOS Related to iOS platform.
Projects
None yet
Development

No branches or pull requests

2 participants