basecamp / basecamp/trix

Cursor is automatically jumping from task title text box to description editor in Chrome

Open
#921 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

I have observed this weird thing, whenever I am trying to click inside the task's title text box (to modify) cursor jumps to the description editor automatically. In event listeners TRIX's blur event is being triggered, see the GIF!.
Any idea!!

##### Steps to Reproduce

1. Go to any **existing task**
2. Click edit (this step is optional)
3. Click task title to modify and start writing something
4. See cursor jumping from **title text box** to **description editor**

##### Details

* Trix version:
* Browser name and version: Chrome 91.0.4472.124 (Official Build) (64-bit) (cohort: stable_gradual_rollout)
* Operating system: Windows 10 OS Version 2009 (Build 19042.1110)
* JavaScript: V8 9.1.269.36

![Basecamp Cursor jumping in Chrome](https://user-images.githubusercontent.com/3529481/125657035-186205cb-4c06-49b2-bcab-faf563027d5d.gif)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Chrome 91 on an existing task by editing the title and watching the Trix blur event. Inspect the title and description focus handling and event listeners; done means the title keeps the cursor while typing and the description editor is not focused unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.