AnalyticalTable: Drag event in onMouseDown causes selection of unrelated content (Firefox)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start with the AnalyticalTable isolated example and reproduce the selection behavior in Firefox using the documented reproduction steps. Trace the table's mouse handling during onMouseDown, then verify that moving within a cell does not select unrelated rows while dragging still selects intended text.
Written by the indexing model from the issue text.
Description
Describe the bug
When using the AnalyticalTable in Firefox, click-and-hold the primary mouse button in a cell.
With the button still pressed (i.e., still in onMouseDown event), the slightest movement of the mouse causes unrelated text in rows above the cell to be selected (i.e., highlighted).
Isolated Example
https://sap.github.io/ui5-webcomponents-react/?path=/docs/data-display-analyticaltable--docs
Reproduction steps
- Open the example page for the Analytical Table in Firefox
- In any cell of the table, click-and-hold the primary mouse button
- Move the mouse within the boundary of the cell
- Note that all cell content in rows above the cell is now highlighted as a selection
Expected Behaviour
Only text in the current cell should be highlighted, and only explicitly when the mouse is dragged across it in onMouseDown state.
Screenshots or Videos
https://github.com/SAP/ui5-webcomponents-react/assets/25363688/8c1ea63e-2662-4f7d-9036-c9efceca6b9f
UI5 Web Components for React Version
1.27.0
UI5 Web Components Version
1.24.0
Browser
Firefox
Operating System
macOS 14.4.1 (23E224)
Additional Context
No response
Relevant log output
No response
Organization
SAP SE
Declaration
- I’m not disclosing any internal or sensitive information.
- Dominant language
- TypeScript
- Stars
- 544
- Forks
- 113
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 34
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from UI5/webcomponents-react
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UI5/webcomponents-react#9181 ·
Maintainers usually reply within 1 day
-
[AnalyticalTable]: useF2CellEdit inserts "undefined" into grid-cell aria-labelPossibly taken @Lukas742 claimed this 5 days ago. OpenSAP SF
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
UI5/webcomponents-react#9171 ·
Maintainers usually reply within 1 day
-
[ObjectPage]: Scrollbar jumps to the focused section once go out and come back to the browser tabPossibly taken @Lukas742 claimed this 11 days ago. OpenSAP SF
Difficulty 3/5 1-2 days Newbie friendliness 57/100
UI5/webcomponents-react#9161 · 1 comment ·
Maintainers usually reply within 1 day
-
[ObjectPage]: page will twitch when the header height reaching the threshold of expansion and collapsePossibly taken @Lukas742 claimed this 8 days ago. Open
Difficulty 3/5 Half a day Newbie friendliness 55/100
UI5/webcomponents-react#9128 · 9 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
UI5/webcomponents-react#8529 ·
Maintainers usually reply within 1 day
All issues in UI5/webcomponents-react
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
can1357/oh-my-pi#21349 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ohcnetwork/care_fe#17474 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100