mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-15 03:05:41 +00:00
[cm6] fix toolbar overflow button calculation (#13669)
GitOrigin-RevId: 11380a5661067a285e0c0de82a37e085fc395f03
This commit is contained in:
parent
7202d7413e
commit
39bd64b0a4
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ const Toolbar = memo(function Toolbar() {
|
|||
const buildOverflow = useCallback(
|
||||
(element: Element) => {
|
||||
setOverflowOpen(false)
|
||||
setOverflowed(false)
|
||||
setOverflowed(true)
|
||||
|
||||
if (overflowBeforeRef.current) {
|
||||
overflowedItemsRef.current = new Set()
|
||||
|
|
Loading…
Add table
Reference in a new issue