mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
[cm6] fix toolbar overflow button calculation (#13669)
GitOrigin-RevId: 11380a5661067a285e0c0de82a37e085fc395f03
This commit is contained in:
committed by
Copybot
parent
93c4c5d1ee
commit
eeb77a2e5f
@@ -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