material-web icon indicating copy to clipboard operation
material-web copied to clipboard

mwc-menu placement gets affected be parent height (placed with offset)

Open Biggisb opened this issue 2 years ago • 0 comments

Describe the bug In some cases when using the fox-menu (or select) we saw that the component does not get placed where we would want it to be. For us its somehow random but maybe i miss something. Therefore i created a stackblitz file

To Reproduce Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/edit/node-l5vcwq?file=index.js
  2. Click on the "more_vert" icon of the list elements.
  3. See error

Expected behavior Menu should be placed like in the first example. image

Screenshots If applicable, add screenshots to help explain your problem. image

Additional context The same "offset" problem apply both horizontal and vertical

Biggisb avatar Mar 30 '22 16:03 Biggisb