Skip to content

[grid] Loading css rule causes stuttering #1544

Closed

Description

@Avocher

Description

The following css rules causes stuttering for us while while scrolling. It adds up to 60ms of recalculating style:

[part~="row"][loading] [part~="body-cell"] ::slotted(vaadin-grid-cell-content) {
  opacity: 0;
}

Removing the rule fixes it for us but it might not work UX wise for everyone.

Steps to reproduce

  1. Scroll around in a larger grid

Browsers Affected

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE 11
  • iOS Safari
  • Android Chrome

Activity

  1. changed the title [-]Loading css rule causes stuttering[/-] [+][grid] Loading css rule causes stuttering[/+] on May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions