Skip to content

Added cleanup of the dragToSeek dragStream#4275

Merged
katspaugh merged 2 commits intokatspaugh:mainfrom
OdinhengeT:fix/dragToSeek_cleanup
Jan 19, 2026
Merged

Added cleanup of the dragToSeek dragStream#4275
katspaugh merged 2 commits intokatspaugh:mainfrom
OdinhengeT:fix/dragToSeek_cleanup

Conversation

@OdinhengeT
Copy link
Contributor

Short description

There was no cleanup of the dragStream when the dragToSeek option was set to false using setOptions. As such there was no way of toggling the dragToSeek behavior.

Originally, I was having a problem where dragToSeek and regions.enableDragSelection could no longer be enabled simultaneously as of v7.11.1 (#4225). While this PR does not fix that issue, it does provide a workaround by temporarily disabling dragToSeek when using regions.enableDragSelection.

Resolves

Implementation details

How to test it

I made some minor changes to the examples/regions.js file in order to test the interaction between dragToSeek and regions.enableDragSelection. Please let me know if you want me to include these changes.

Screenshots

Checklist

  • [ X ] This PR is covered by e2e tests
  • [ X ] It introduces no breaking API changes

Copy link
Owner

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@katspaugh katspaugh merged commit 7718639 into katspaugh:main Jan 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants