Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add scrollContainer to deps array
  • Loading branch information
andrewserong committed Jan 4, 2023
commit 3fccfe498e0c669be72d552254748f137bf3309c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function useBlockToolbarPopoverProps( {
toolbarHeight
)
),
[ contentElement, selectedBlockElement, toolbarHeight ]
[ contentElement, selectedBlockElement, scrollContainer, toolbarHeight ]
);

// Update props when the block is moved. This also ensures the props are
Expand Down