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

Fixes #3718 Modify the pop-up conditions of muya-format-picker #3721

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant