fix: automatic position correction (#145)

This commit is contained in:
josc146
2023-04-05 13:52:25 +08:00
parent eff7e7f77c
commit 177f8e634f
+3
View File
@@ -87,6 +87,9 @@ function FloatingToolbar(props) {
props.container.className = 'chatgptbox-toolbar-container-not-queryable'
setCloseable(true)
}}
onUpdate={() => {
updatePosition()
}}
/>
</div>
</div>