Skip to content

Commit

Permalink
fix: automatic position correction (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Apr 5, 2023
1 parent 315242b commit a01f677
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/FloatingToolbar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ function FloatingToolbar(props) {
props.container.className = 'chatgptbox-toolbar-container-not-queryable'
setCloseable(true)
}}
onUpdate={() => {
updatePosition()
}}
/>
</div>
</div>
Expand Down

0 comments on commit a01f677

Please sign in to comment.