Skip to content

[graphiql] The text cursor doesn't work well in the Playground page. It doesn't point correctly to end of the line or end of the text. #4040

@557029

Description

@557029

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have problems with GraphQL Playground page. It stopped working yesterday.I have solved this problem like that:

#4033 (comment)

However, the new page has text cursor issue. The cursor doesn't go to the end of line.

Image

Expected Behavior

  • Selection should cover all text.
  • when user clicks "End" button, the cursor should go to the end of line.
Image

Steps To Reproduce

  1. Open GraphQL 5.0.0 Playground Page
  2. Enter and longer than 20 characters text.
  3. Check the cursor location.
  4. Select all text with Cmd + A,
  5. Check how text will be selected.

Environment

  • GraphiQL Version:
  • OS: Windows
  • Browser: Chrome, Edge
  • Bundler:
  • react Version: 19
  • graphql Version: 5.0.0

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions