[bug] 切屏返回后,光标丢失,无法定位到原位置

Open
#1,322 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
nextjs, tauri, typescript
Domain
desktop, frontend

Research direction

The issue names no file, component or steps to reproduce, so start by reproducing it on Windows: open a note, place the cursor, switch to another application, then return to the app. Look for the editor's focus and selection handling in the frontend code and check whether the Tauri window focus event is involved. Done means the cursor returns to its previous position after a window switch, with a test or a manual check described in the pull request.

Written by the indexing model from the issue text.

Description

详细描述这个 Bug

程序切屏返回后,光标丢失,无法定位到原位置

NoteGen 版本

v0.39

操作系统

Windows

报错日志

No response

Dominant language
TypeScript
Stars
12.9k
Forks
975
Avg merge
20h 27m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codexu/note-gen

All issues in codexu/note-gen

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.