This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
[MDC-Menu and MDC-DataTable] Screen resizing problem with setFixedPosition #7759
Closed
Description
Bug report
There is a settings button for each row in the table. The menu works properly under normal conditions. But if the page resizes, the menu won't stick to the anchor. This problem has only been seen when the menu is positioned with setFixedPosition. If setFixedPosition is not used, the menu is not positioned outside the table.
Steps to reproduce
- Go to the page with the table.
- Click the 'settings' button of any row.
- Resize the page. (Like resizing the Chrome window.)
- You can see that the menu is not stick to the button.
https://codepen.io/lastofdead/pen/LYmddNN
https://imgur.com/a/BuJQtZE
Actual behavior
The menu doesn't stick to the button when the window is resized.
Expected behavior
The dropdown should stick to the button.
Screenshots
Your Environment:
Software | Version(s) |
---|---|
MDC Web | v14 |
Browser | Chrome Version 105.0.5195.128 |
Operating System | Windows 10 64Bit |