Skip to content

v0.1.2

Choose a tag to compare

@just-tobi just-tobi released this 24 Mar 20:20
4562d28

fix(panel): resolve drag/resize bugs in floating chat panel

  • Use getBoundingClientRect() in drag/resize handlers to prevent panel jump on first drag
  • Add touch-action: none to header so touch drag doesn't conflict with page scroll
  • Constrain restored position to viewport on _applySize() (handles browser resize/reload)
  • Fix resize max-width to account for panel X position (right edge no longer goes off-screen)
  • Set document.body cursor during drag/resize so cursor stays correct when mouse leaves panel