We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bde09a commit 9684d31Copy full SHA for 9684d31
packages/richtext-lexical/src/features/experimental_table/client/plugins/TableActionMenuPlugin/index.tsx
@@ -175,7 +175,7 @@ function TableActionMenu({
175
let topPosition = menuButtonRect.top
176
if (topPosition + dropDownElementRect.height > window.innerHeight) {
177
const position = menuButtonRect.bottom - dropDownElementRect.height
178
- topPosition = (position < 0 ? margin : position) + window.pageYOffset
+ topPosition = position < 0 ? margin : position
179
}
180
dropDownElement.style.top = `${topPosition}px`
181
0 commit comments