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

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

Open
1 task done
thatmanmatt opened this issue Apr 10, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@thatmanmatt
Copy link

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

FF.Analytical.Table.onMouseDown.mov

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.
@thatmanmatt thatmanmatt added the bug Something isn't working label Apr 10, 2024
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
Status: 🆕 New
Development

No branches or pull requests

1 participant