Skip to content

Previous page button focused when changing to second page in grid #4961

@danxuliu

Description

@danxuliu

How to test

  • Enable devMode in grid view and rebuild JavaScript files
  • Start a call
  • Change to speaker mode
  • With the default 10 dummies and with a screen width of 1920px the grid in the stripe should have 2 pages; if not resize the browser window as needed (or change the number of dummies)
  • Click on the button to change to the next page

Expected result

As the next page button is removed no button is focused.

Actual result

The previous page button is focused.

Note that if there are 3 or more pages when reaching the last page the previous button is not focused. Moreover, if going from the second page to the first one after the previous page button is removed no button is focused, no matter how many pages there are in total. It only happens when there are 2 pages and when going from the first page to the second one 🤷

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions