Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After inserting a nucleotide in the Text-editing mode, the cursor blinks in the wrong place #4533

Closed
Tracked by #6600
ViktoriaTkacheva opened this issue Apr 24, 2024 · 1 comment · Fixed by #6171
Closed
Tracked by #6600
Assignees
Labels
Macromolecules Priority: Low Sequence mode Bucket: Sequence mode related issues

Comments

@ViktoriaTkacheva
Copy link
Collaborator

Steps to Reproduce

  1. Open two Ketcher browser tabs – the Macro mode
  2. Switch to the Sequence mode - the Text-editing mode
  3. Enter any sequence (for example, UUU)
  4. Copy any nucleotide with phosphate from another browser tab (for example, Tp)
  5. Paste it before the sequence

Actual behavior
The cursor is not displayed after the inserted nucleotide, but one nucleotide further
image

Expected behavior
The cursor is displayed after the inserted nucleotide
image

Screenshots

2024-04-24_12h53_00.mp4

Desktop (please complete the following information):

  • OS: Windows 10 Pro (version 22H2) x64
  • Browser: Сhrome
  • Version: (124.0.6367.60) x64

Ketcher version 2.21.0-rc.1, Build at 2024-04-15; 20:06:01

Issue found while testing #3916

@ViktoriaTkacheva ViktoriaTkacheva added this to the Refined Backlog milestone Apr 24, 2024
@rrodionov91 rrodionov91 changed the title After inserting a nucleotide at the beginning of a row in the Text-editing mode, the cursor blinks in the wrong place After inserting a nucleotide in the Text-editing mode, the cursor blinks in the wrong place Nov 27, 2024
@Guch1g0v Guch1g0v self-assigned this Dec 17, 2024
Guch1g0v added a commit that referenced this issue Dec 18, 2024
Guch1g0v added a commit that referenced this issue Dec 18, 2024
NataliaLoginova pushed a commit that referenced this issue Dec 18, 2024
…rsor blinks in the wrong place (#6171)

* #4533 - After inserting a nucleotide in the Text-editing mode, the cursor blinks in the wrong place

* fix for playwright.config

* update screenshots
@AlexeyGirin
Copy link
Collaborator

Verified.
image

  • Ketcher Version 3.20.0-rc.1 Build at 2024-12-31; 12:50:08
  • Indigo Toolkit Version 1.28.0-rc.1.0-gc167e6266-wasm32-wasm-clang-19.0.0
  • Chrome Version Version 131.0.6778.205 (Official Build) (64-bit)
  • Win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Macromolecules Priority: Low Sequence mode Bucket: Sequence mode related issues
Projects
None yet
3 participants