mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-12 14:25:54 -04:00
Don't render if the position is 0,0
This commit is contained in:
parent
a3763648fe
commit
44d9be19b2
@ -313,6 +313,7 @@ const Panel = ({
|
||||
ref={panelRef}
|
||||
tabIndex={-1}
|
||||
style={{
|
||||
visibility: `${positionRef.current === "" ? "hidden" : "visible"}`,
|
||||
position: "absolute",
|
||||
top: `${
|
||||
panelPosition.y +
|
||||
|
Loading…
x
Reference in New Issue
Block a user