Skip to content

[feature_request] Disable scrolling by drag with a mouse #71322

@radoslaw-sz

Description

@radoslaw-sz

Use case

When having long text field in web, it is very hard to select the text without making unintentional drag and scroll.

Proposal

Give possibility to disable scrolling by dragging, but leave enabled scrolling by scroll event.
In theory it could be done by listening the scroll event and NeverScrolllabePhysics, but at the same time it does not follow text field position (so writing in text field does not scroll the page, because of NeverScrollablePhysics).

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions