Open TomRauchenwald38 opened 3 years ago
I managed to reproduce the issue with version 0.7.0-pre.2. using mdc-menu. It only appears on the first render. Once the item gets rerendered (after getting scrolled out and then back in the frame) the positioning is correct again.
When lit-virtualizer is used in a mwc-dialog, the positioning of the rendered items is off sometimes. I'm using version 0.4.2 and chrome 87.
Test code:
I've prepared a demo here: https://codepen.io/TomRauchenwald/pen/NWRxErO
I would expect the lit-virtualizer element that's rendered directly in the component to look the same as the one in the opened dialog. Instead, the elements overlap in the dialog: