[dev] Can't select email subjects in dynamic view

Chuck Hagenbuch chuck at horde.org
Tue Nov 27 05:50:18 UTC 2012


Quoting Michael M Slusarz <slusarz at horde.org>:

> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>> Anyone know why I can't select (for copy/paste) email subject lines  
>> in the IMP dynamic view?
>
> Yes - to prevent drag-selecting of UI elements.  It is disabled for  
> everything but text inputs (see javascript code at the very bottom  
> of imp/js/dimpcore.js) and the message preview.  It's not perfect  
> since it will cause click-drags that start in an allowed element to  
> propogate beyond the element.  But there's really not an easy way to  
> prevent this (CSS solutions are not possible at this time).
>
> I would not be opposed to adding a horde-wide class (or at least an  
> IMP class) that delineated an HTML element allowed to initiate a  
> click-drag.

I'll bite, what's wrong with drag-selecting UI elements?
-chuck


More information about the dev mailing list