Skip to content

Bug[UI/Editor]: Large pasted text rewraps and loses file size display after tab switch #170

@pluuto19

Description

@pluuto19

When a large string is pasted into an empty file, it initially appears as a single unwrapped horizontal line with a horizontal scroll bar and the file size displayed. However, switching to another tab and returning causes the text to become wrapped, and the file size indicator disappears.

To Reproduce:

  • Open an empty file.
  • Paste a large continuous string of text.
  • Observe the unwrapped text and visible file size indicator.
  • Switch to another tab and return.
  • Note that the text is now wrapped and the file size indicator is gone.

Expected behavior: The text display and file size indicator should remain consistent when switching tabs.

OS: Windows 10
Browser: Chrome
Version: 141.0.7390.123 (Official Build) (64-bit)

bug.35.5.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions