Skip to content

[css-ui-4] Make selection change behavior configurable #1317

@saschanaz

Description

@saschanaz

Following #319.

Problem: MSEdge Insider Preview build recently changed its behavior not to change selection when clicking non-selectable area to match the requirement from #319. This breaks my app behavior which targets Windows 10 store platform.

Background: Web pages by default allows user selection for the whole page area, while desktop apps by default blocks it and wants to control selectable area strictly. This means the whole background of page body is unselectable, and it again means unselecting is hard.

Take a look here (Firefox and Edge is preferred, Chrome has slightly different behavior): http://codepen.io/SaschaNaz/pen/wdeqZX

Imagine users selected their texts to copy and paste, and then wants to unselect. Previously with MSEdge the user can just click anywhere on the page, but now the user has to think carefully to unselect without opening a popup. (The only way on MSEdge is to right-click anywhere)

Since unselecting got hard, I suggest a way to allow previous Chromium behavior, where unselection happened when clicking non-selectable area.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions