Skip to content

Fix: Prevent text selection during drag resize (Issue #38)#49

Merged
RyoSogawa merged 1 commit intomainfrom
feature/issue_#38
Sep 19, 2025
Merged

Fix: Prevent text selection during drag resize (Issue #38)#49
RyoSogawa merged 1 commit intomainfrom
feature/issue_#38

Conversation

@RyoSogawa
Copy link
Copy Markdown
Owner

Summary

Changes

  • Added e.preventDefault() in the handlePointerdown function in src/useResizable.ts
  • This prevents unwanted text selection when dragging the resize handle

Test plan

  • Tested locally with Storybook
  • TypeScript type checking passes
  • ESLint passes
  • Build succeeds

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
react-resizable-layout-i2a6 Ready Ready Preview Comment Sep 19, 2025 0:32am

@RyoSogawa RyoSogawa self-assigned this Sep 19, 2025
@RyoSogawa RyoSogawa merged commit 96a5d57 into main Sep 19, 2025
3 checks passed
@RyoSogawa RyoSogawa deleted the feature/issue_#38 branch September 19, 2025 00:33
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.

Text selection is not prevented upon dragging

1 participant