Skip to content

[ListView] getFirstVisiblePosition does not work properly #1250

Open
@zbranzov

Description

@zbranzov

Tell us about the problem

getFirstVisiblePosition method returns wrong value in Vue demo.

Which platform(s) does your issue occur on?

_iOS

Please provide the following version numbers that your issue occurs with:

  • Progress NativeScript UI plugin version: 7.1.0
  • **CLI:**6.1
  • **Cross-platform modules:**6.1
  • Runtime(s): 6.1

Please tell us how to recreate the issue in as much detail as possible.

  1. Start any of the demos (vue, ng)
  2. Go to "Get first visible index" example
  3. If you scroll down and get visible item index it will return index 10 on item 2 which is wrong
    https://screencast.com/t/HUXmc3XlA

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

demos from the repo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions