microsoft / microsoft/roosterjs
[Safari only] When table context menu is shown, table cell is selected for a moment
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:
- Open RoosterJS demo page in Safari
- Insert a table
- Click right mouse button on any cell of the table
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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