superhi / editor-issues

A place to report issues on the SuperHi Editor
4 stars 0 forks source link

Preview gets stuck to cursor when resizing preview #15

Closed kdholland closed 5 years ago

kdholland commented 5 years ago

Describe the bug Sometimes when i click and drag it back and forth, the preview keeps resizing when i move my mouse (when i’m not dragging it anymore)

To Reproduce Steps to reproduce the behaviour:

  1. Click and drag the handle to resize the preview back and forth a few times
  2. Stop clicking and dragging
  3. Move cursor back and forth
  4. The preview keeps resizing and you have to click on the handle to stop.

Expected behaviour For the window to stop resizing once you're done clicking and dragging.

Device (please complete the following information):

Additional context As discussed on slack it sounds like this is an underlying bug in the library we're using, which we may scrap altogether.