Skip to content

multiselect box makes the page walk after updating the value #590

@dnuske

Description

@dnuske

Summary

When selecting a value having scroll down a bit makes the page scroll down a little bit when the multiselect box updates to include the selected value, making the Cypress tests screen captures not equal sometimes due to the scrolling event happening in the same moment as the screen capture, sometimes a bit after sometimes a bit before.

Screen Shot 2019-10-31 at 8 30 29 PM

as can be seen in the image above, that scroll occurred just by changing the value.

Steps to reproduce

What are the steps we should take to reproduce the bug:

  1. Run multiselect script and navigate to it.
  2. scroll down a little bit so the scroll is not at starting position
  3. update the value of a multiselect box and see the page move on its own.

Expected behavior:

Page should not scroll down because a value was updated, it is acceptable for the page to grow but now to scroll down.

Actual behavior:

Page scrolls down when updating multiselect box values.

Metadata

Metadata

Assignees

Labels

type:bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions