Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2: represent element as soon as drag enters canvas #64

Open
jdittrich opened this issue Dec 14, 2019 · 3 comments
Open

v2: represent element as soon as drag enters canvas #64

jdittrich opened this issue Dec 14, 2019 · 3 comments
Labels
enhancement Usability/Design version2 anything concerning the rewrite in a new framework

Comments

@jdittrich
Copy link
Owner

Story: As a user I want to know how the element I will add is like so I can drop it at the right place

Current State: We drag a HTML rectangle of consistent size for each element, how it actually is like is only seen later.

@jdittrich jdittrich added enhancement Usability/Design version2 anything concerning the rewrite in a new framework labels Dec 14, 2019
@jdittrich
Copy link
Owner Author

jdittrich commented Dec 14, 2019

related: #63 ("v2 code quality: Event initialization is messy, needs lots of files to be touched")

@jdittrich
Copy link
Owner Author

Note: …I try with canvas.onDragEnter but so far, I did not get the event handler called when I drag the "usual" jquery element from the outside (aka sidebar). Maybe I need to use the normal draggable of jQueryUI on the canvas and then create an element.

@jdittrich jdittrich changed the title vs: represent element as soon as drag enters canvas v2: represent element as soon as drag enters canvas Dec 14, 2019
@jdittrich
Copy link
Owner Author

…another way would be just using plain "mouseenter" and checking if the current drag is of the right kind aka dragging an QuickMocukup UI-Element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Usability/Design version2 anything concerning the rewrite in a new framework
Projects
None yet
Development

No branches or pull requests

1 participant