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

[BUG] Firefox BlockTypeSelect does not set 'focus' correctly. #390

Open
cdavies4 opened this issue Mar 14, 2024 · 2 comments
Open

[BUG] Firefox BlockTypeSelect does not set 'focus' correctly. #390

cdavies4 opened this issue Mar 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cdavies4
Copy link

  • [Y] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • [Y] I have read the documentation and cannot find an answer.

Describe the bug
On Firefox using the BlockTypeSelect plugin incorrectly 'focuses' after a BlockType has been selected. This leads to text highlighting on hover as though the left mouse button is pressed down.

Reproduction
This is reproducible on the live demo https://mdxeditor.dev/editor/demo by selecting a BlockType from the modal. Once a block type is selected moving the mouse across the screen will highlight text even though the left mouse button is not pressed. This behaviour does not occur in Chrome or Edge.

Expected behavior
Once a BlockType has been selected hovering over text does not highlight it. This behaviour occurs in Chrome and Edge.

Screenshots
Chrome - Selected a block type and moved cursor down the page

Screenshot from 2024-03-14 09-22-42

Firefox - Selected a block type and moved cursor down the page

Screenshot from 2024-03-14 09-22-15

Desktop (please complete the following information):

  • OS - Tested on Alma Linux and Windows
  • Browser - Tested in Firefox, Chrome and Edge
@cdavies4 cdavies4 added the bug Something isn't working label Mar 14, 2024
@petyosi
Copy link
Contributor

petyosi commented Mar 14, 2024

Happy to accept a PR - it's a legit bug, but Firefox is going down in market share and my priority list is quite long, so I'm unlikely to get to this soon.

@david10sing
Copy link
Contributor

@cdavies4

Is this still an issue? I am on Firefox 125.0.2 (64-bit) and I cannot seem to replicate the issue as per above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants