Skip to content

Cannot click on selected text to move cursor when Group is rendered #574

@JinJieBeWater

Description

@JinJieBeWater

Description

When a Group component is rendered on the page, clicking on selected text to move the cursor doesn't work. This affects text anywhere on the page, not just inside the Group.

Steps to Reproduce

  1. Go to https://react-resizable-panels.vercel.app/
  2. Select some text on the page (either in the demo panels or outside)
  3. Try clicking within the selected text to move the cursor
  4. The cursor will not move to the clicked position

Expected Behavior

Clicking on selected text should move the cursor to that position, just like normal text behavior.

Actual Behavior

Clicking on selected text has no effect - the cursor position doesn't change.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions