diff --git a/src/components/FloatingToolbar/index.jsx b/src/components/FloatingToolbar/index.jsx index 782a0b4b..45d15413 100644 --- a/src/components/FloatingToolbar/index.jsx +++ b/src/components/FloatingToolbar/index.jsx @@ -87,6 +87,9 @@ function FloatingToolbar(props) { props.container.className = 'chatgptbox-toolbar-container-not-queryable' setCloseable(true) }} + onUpdate={() => { + updatePosition() + }} />