Lunie: Scrolling bug on TabMyDelegations

Created on 14 Nov 2018  路  11Comments  路  Source: luniehq/lunie

Description:

There's a scroll related bug on the TabMyDelegations page that displays an empty page (see screenshot).

Steps to reproduce (using yarn start with old testnet):

  1. Go to Staking > tab Validators
  2. Scroll all the way to the bottom of the validators index
  3. Click tab My Delegations
  4. Tab displays empty page

screen shot 2018-11-14 at 12 02 17 pm

bug high priority

Most helpful comment

do you know what the problem is?

my guess: the scroll position doesn't reset when changing routes.

All 11 comments

cc: @jbibla

we'll probably have to check this on other existing tabs as well

do you know what the problem is?

my guess: the scroll position doesn't reset when changing routes.

the scroll position doesn't reset when changing routes.

that was our guess as well

can't reproduce/fix on local testnet since we only have one validator

You could use the mocked connection and edit lcdClientMock to have 50 validators

it's not obvious to me why we need the perfect scroll plugin. can we remove it and rely on css?

Can you ask @nylira why he added it in the first place? Maybe it serves a purpose.

from @nylira: "it was to normalize the app design between multiple operating systems. For example, Windows and Linux have ugly default scrollbars that we cannot style. It also eats into the horizontal space of the app itself, as well as making scrolling popups and panels look not as great."

i would vote to remove it. i have no issue with native scrollbars and don't think we need this extra dependency.

i will also fix the bug reported in this issue.

I remember that there was an issue on Windows with the scrollbar. Could you check there first before removing the plugin?

I remember that there was an issue on Windows with the scrollbar. Could you check there first before removing the plugin?

i'm going to open a ticket to address this as it is a low priority refactor and requires much work to work properly without it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AdityaSripal picture AdityaSripal  路  4Comments

faboweb picture faboweb  路  3Comments

jbibla picture jbibla  路  4Comments

Bitcoinera picture Bitcoinera  路  4Comments

faboweb picture faboweb  路  3Comments