Skip to content

Conversation

@cfs4819
Copy link

@cfs4819 cfs4819 commented Dec 6, 2023

Q A
Bug fix? yes
New feature? no
Breaking changes? no
Deprecations? no
New tests added? not needed
Fixed tickets Fixes #3718
License MIT

Description

Before: When selecting the text by 'Shift' and 'Arrow keys', the 'muya-format-picker' that pop upon the selected text make it hard to continue selecting by 'Shift + ArrowUp' or 'Shift + ArrowDown' , while 'Shift + ArrowLeft' or 'Shift + ArrowRight' working still.

So I modified the pop up logic of the 'muya-format-picker'. Add code to check if the 'Shift' is still pressed. If so the 'muya-format-picker' won't pop up.

@dben89x
Copy link

dben89x commented Nov 30, 2024

Can we get a review on this so we can merge? This fixes a broken feature, and its scope seems to be relatively simple and contained. The shift key needs to trigger an exception for the muya-format-picker, otherwise it blocks further selection. Repeatedly spamming the "Escape" key is one workaround I guess...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to remove the small pop-up format tool bar that appears when selecting the text using Shift and arrow keys?

2 participants