microsoft / microsoft/roosterjs

[Safari only] When table context menu is shown, table cell is selected for a moment

Open
#2,632 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
190
Avg merge
1d 8h
Merged PRs (30d)
16

Description

Describe the bug
When table context menu is shown, table cell is selected fully for a moment (only for Safari, Edge doesn't have such behavior)

To Reproduce
Steps to reproduce the behavior:

  1. Open RoosterJS demo page in Safari
  2. Insert a table
  3. Click right mouse button on any cell of the table
  4. Notice that the whole cell is selected for a moment

Expected behavior
The whole cell shouldn't be selected for Safari

Screenshots

https://github.com/microsoft/roosterjs/assets/98852890/1e46f34b-bddd-42a6-9e26-e749d77d048d

Device Information

  • OS: macOS
  • Browser: safari 17.4.1
  • Version RoosterJS 9.3.0

Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

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

Start with the RoosterJS demo page and reproduce the table context-menu behavior in Safari 17.4.1 on macOS. Trace the table cell context-menu handling, then verify that right-clicking a table cell no longer briefly selects the whole cell in Safari while the behavior remains correct elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.