logseq / logseq/logseq

Block reference clipboard bug on mobile app

Open
#8,456 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

:type/enhancement can-be-reproduced editor editor:autocomplete
Dominant language
Clojure
Stars
45k
Forks
2.8k
Avg merge
1d 22h
Merged PRs (30d)
105

Description

### Search first

- [X] I searched and no similar issues were found

### What Happened?

When pasting text on mobile inside “(())” for a block reference, the text will not search. It only searches When you start typing after initiating the block reference.

### Reproduce the Bug

Create a new bullet on the mobile app. Add the block reference parentheses “(())”. Click into the parenthesis, paste in the text for a block you want to reference. At this point the menu will not search for the block. The only way to search is manually typing after you create the parentheses.

### Expected Behavior

I’d expect to be able to paste text into the parentheses and see the search for the block I want to reference.

### Screenshots

_No response_

### Desktop or Mobile Platform Information

App Version: 0.8.16
Git Revision: 3a7d16683
Platform: Mozilla/5.0 (iPhone CPU iPhone OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML like Gecko) Mobile/15E148 Logseq/0.8.16 (iOS)
Language: en-US

### Additional Context

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

Open the contributing guide

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.

Research direction

No file or test is named. Reproduce the issue on the mobile app by creating a bullet, inserting a block reference, and pasting search text into the parentheses; trace the mobile block-reference input handling. Done means pasted text triggers the block search menu just as typed text does.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
mobile-dev, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.