fin-hypergrid / fin-hypergrid/core

Behavior Change in Chrome 5X (Don't know exactly which version) breaks dragging protection

Open
#492 2 comments 0 reactions 0 assignees View on GitHub
bug Needs Confirmation
Dominant language
JavaScript
Stars
907
Forks
139
PR merge metrics
No merged PRs in 30d

Description

The following won't work in Chrome latest stable build
https://github.com/openfin/fincanvas/blob/db990dae9b1ca5c34313b2f6311651a16677eb45/src/index.js#L610

Consider the following statement is true in latest Chrome:

document.body.style.cssText = '-webkit-user-select: none'; document.body.style.cssText === 'user-select: none;'

This result in once a drag action is detected in fincanvas in hypergrid, users will no longer be able to select any text even after the dragging ended.

Ref: https://github.com/openfin/fincanvas/issues/9

Contributor guide

Open the contributing guide

Research direction

Start by reading src/index.js around line 610 and reproduce a drag in Chrome to observe the document body's user-selection style. Confirm that text selection remains disabled after dragging, then make selection recover when the drag ends; the issue does not name a test file or exact Chrome version.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
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.