Akryum / Akryum/vue-virtual-scroller

Overlaid item text

Offen
#416 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
10.8k
Forks
973
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I use this library as part of a [Materal-themed skin](https://github.com/CDrummond/lms-material) for Logitech Media Server. In this I have a list of artists that when clicked shows the list of the artist's albums. However, on doing this with 1.0.10 the text of both lists is shown at the same time in the same place (i.e. its like one list is shown above the other). Steps to recreate:

1. List with more items than can fit onto screen (e.g. a list of 'Album Artists')
2. Set `element.scrollTop` to scroll the list 1 or more pages down (I have a 'jumplist' of letters that allows the user to quickly scroll to that position) (Manually scrolling via swipes appears to be fine)
3. Click an item so that a new list is fetched (e.g. show an Album Artist's list of Albums)
4. Now the text shown in the list contains the previous items overlayed onto the new items (e.g. list of AlbumArtists is shown over the list of Albums).

The following screenshot shows the corruption:

![image](https://user-images.githubusercontent.com/1141694/82125207-554ca480-979c-11ea-8240-004c90ff9423.png)

The above scenario occurs with 1.0.10, but is fine when downgrading to 1.0.0-rc2

Now its more than possible there is an error in my code (I am not a web developer), but seeing as everything appears OK with 1.0.0-rc2, it looks like an issue in the current release of vue-virtual-scroller.

The issue affects Chrome (v81.0.4044.138) on Android, but Kiwi (an Android browser) appears not to be affected.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.