Closed
Description
Reproduction
StackBlitz to reproduce my issue: https://stackblitz.com/edit/components-issue-eo9e4r
Steps to reproduce:
- Open the StackBlitz link
- Hover over the "State" column
- The cdkRowHoverContent will not be displayed on hover
- Click on any cell of the state column
- Cell gains focus and cdkRowHoverContent will be displayed for all cells (as expected)
- Move to the next side with the paginator (dataSource updates)
- The cdkRowHoverContent will not be displayed (has to gain focus by click again)
Expected Behavior
I am expecting that a change of the dataSource via the paginator or by initial loading of the data, will not require a focus of individual cells in order to display the cdkRowHoverContent.
This StackBlitz shows the expected behavior, where hovering over any cell triggers the display of the cdkRowHoverContent without selecting any cell. In this example the dataSource does not change.
Actual Behavior
When altering the dataSource of a table in any way, for example by retrieving data through HTTP or paginating to another page with a paginator, the cdkRowHoverContent will not be displayed when directly hovering over table cells.
Environment
- Angular: 9.0.1 (StackBlitz)
- CDK/Material: 9.1.0/9.1.0
- CDK-Experimental: 9.2.0
- Browser(s): Google Chome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows (StackBlitz)