Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

AnalyticalTable: Drag event in onMouseDown causes selection of unrelated content (Firefox)

Aperta
#5,694 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
  1. Open the example page for the Analytical Table in Firefox
  2. In any cell of the table, click-and-hold the primary mouse button
  3. Move the mouse within the boundary of the cell
  4. 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.

image

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.
Lingua principale
TypeScript
Stelle
540
Fork
114
Merge medio
22h 29m
PR unite (30g)
88

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UI5/webcomponents-react

Tutte le issue di UI5/webcomponents-react

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.