sandstorm-io / sandstorm

Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
https://sandstorm.io
Other
6.73k stars 707 forks source link

"Share Access" intro highlight is briefly misaligned #2759

Open neynah opened 7 years ago

neynah commented 7 years ago

"Share Access" intro highlight is briefly misaligned after the calculated size finally displays between the two brackets (). This behaviour is odd for 2 reasons (1) If the user was about to click on the "Got it" button at its first location they now have to re-target their cursor, (2) It looks awkward/janky.

Some options:

  1. We could (by default) fix the amount of space between the brackets so that the location of "Share Access" is not dependent on the amount of characters that load in the brackets.

  2. We could have the intro highlight shift more immediately.

image image

dwrensha commented 7 years ago

See also #2337.

kpreid commented 7 years ago

Making the position of interactive UI elements not depend on asynchronous things is a good principle.