mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
[cm6] fix toolbar overflow button calculation (#13669)
GitOrigin-RevId: 11380a5661067a285e0c0de82a37e085fc395f03
This commit is contained in:
committed by
Copybot
parent
7202d7413e
commit
39bd64b0a4
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user