I have an <ul> which contains large number of <li> elements. But only a few of them are visible on view( list has a scroll so others are not visible until you scroll ).
Actual Scenario : When I call Feedback() function it takes upto 60 seconds because it parse all the elements including those which are not visible on view too.
Required Scenario: It should only parse those elements which are visible on view to avoid performance hit.
I have an
<ul>
which contains large number of<li>
elements. But only a few of them are visible on view( list has a scroll so others are not visible until you scroll ).Actual Scenario : When I call
Feedback()
function it takes upto 60 seconds because it parse all the elements including those which are not visible on view too. Required Scenario: It should only parse those elements which are visible on view to avoid performance hit.