Ticket #1247 (closed feature: fixed)

Opened 5 years ago

Last modified 5 years ago

drag handler should have an option to let mousedown propagate

Reported by: tschaub Owned by:
Priority: minor Milestone: 2.6 Release
Component: Handler.Drag Version: 2.5
Keywords: Cc:
State: Complete

Description

The drag handler currently stops propagation (to listeners on the same element) of all mousedown events that it handles. This is not necessary in all situations, and makes for weird workarounds at times.

Attachments

drag.patch Download (0.8 KB) - added by tschaub 5 years ago.
give drag handler a stopDown property

Change History

Changed 5 years ago by tschaub

give drag handler a stopDown property

Changed 5 years ago by crschmidt

  • state set to Commit

This seems simple enough -- I'm happy with it going in.

Changed 5 years ago by tschaub

  • status changed from new to closed
  • state changed from Commit to Complete
  • resolution set to fixed

(In [5697]) Giving the drag handler a stopDown property. Set this to true in the constructor options to let mousedown events propagate. r=crschmidt (closes #1247)

Changed 5 years ago by elemoine

Currently, there is no way to set the drag handler options when initializing the drag feature control. In particular, one cannot set this stopDown property when initializing the drag feature control. Is it something we'd like to change?

Note: See TracTickets for help on using tickets.