Closed (fixed)
Project:
Scald: Media Management made easy
Version:
7.x-1.x-dev
Component:
Library/DnD
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2013 at 16:51 UTC
Updated:
13 Dec 2013 at 10:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
brockfanning commentedComment #2
brockfanning commentedHere's a slightly less hackish bit of CSS to get around the problem. I haven't made it into a proper patch, because I suspect it's probably not the best way to do it. But it does work for me. Any CSS experts, please review!
Comment #3
brockfanning commentedComment #4
jcisio commentedWith this CSS can you click behind the .scald-menu (where there is no icon)? If yes then it's quite good, I think.
Comment #5
brockfanning commentedThat entire grey vertical rectangle still catches mouse-clicks. This change allows you to click *beneath* that rectangle, where it was previously catching mouse-clicks.
One thing that worries me about my CSS is that it targets specific divs inside the .scald-menu div. If new divs were added there, they wouldn't receive mouse-clicks, which but be quite confusing to the developer.
I just tried adding an inner wrapper around the contents of the .scald-menu. Like this...
And then in CSS:
It seems odd, but it works. I can make a patch if that seems OK to you.
Comment #6
brockfanning commentedI went ahead and made the patch, to make clear what the code changes would be.
Comment #7
jcisio commentedGot it. Could you try this simpler patch?
Comment #8
brockfanning commentedYep, that's working too, nice.
Comment #9
jcisio commentedCommit 25160fd. Thanks.