Skip to content

SQL editor scroll to end after inputing Chinese character #1012

@ernestyao

Description

@ernestyao

What happened?

In SQL editor, after inputing a Chinese word, it'll scroll to the end of script. I test with Pinyin input method included in macOS and Rime, a third-party input method.

Steps to reproduce

  1. Open a duckdb database file and a SQL script
  2. Input a Chinese word like "测试" in an empty line (choose Pinyin input method, press "ceshi" and a space to choose the correct word
  3. The page will scroll to the end of the script

Expected behavior

The page should not scroll and we should be able to input continously.

Database type

None

TablePro version

0.38.0

macOS version & chip

macOS 26.4.1 / Apple Silicon M4 Pro

Screenshots / Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions