-
Notifications
You must be signed in to change notification settings - Fork 107
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
Task selected class #24
Comments
Thanks for reporting this issue. You're right. There's an exposed method |
Can you show an example please where clicking out of the task unselects it please? |
I've decided to hold on to that feature because it's more complex to do effectively. For now, you can make the handler yourself and use |
@ANovokmet Okay, thanks. For all these issues you are fixing, how do I get these updates like for the |
@darekeapp Yeah, pretty much. Going to do it tommorrow. You can always pull the repo and build it yourself, or download https://github.com/ANovokmet/svelte-gantt/tree/master/docs/dist. |
Whenever a task is clicked on or dragged/moved, the following CSS class always stays:
.sg-task.selected.svelte-19txnoa
. It would be good if and when the user clicks out somewhere else on the page (not necessarily on another task - anywhere on the page really), for the selected class to be removed from the task. I think this may require some event listener (but not exactly sure).The text was updated successfully, but these errors were encountered: