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

Selection is not cleared #100

Closed
LisPavel opened this issue Apr 11, 2023 · 4 comments
Closed

Selection is not cleared #100

LisPavel opened this issue Apr 11, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@LisPavel
Copy link

When I call unselect method from callback select nothing happens.
I'm just trying to add new event after select and clear selection.

function createNewEvent({ start, end }) {
    calendar.addEvent({
        id: crypto.randomUUID(),
        start,
        end,
        title: crypto.randomUUID(),
    });
    calendar.unselect();
}

Maybe I'm doing something wrong?

@vkurko
Copy link
Owner

vkurko commented Apr 12, 2023

@LisPavel Thanks for informing. I confirm this is a bug. I'll try to fix it as soon as possible.

@vkurko vkurko added the bug Something isn't working label Apr 12, 2023
@vkurko
Copy link
Owner

vkurko commented Apr 12, 2023

@LisPavel Please try the new version 0.17.1.

@LisPavel
Copy link
Author

LisPavel commented Apr 13, 2023

@vkurko It now work! Thanks

@vkurko
Copy link
Owner

vkurko commented Apr 13, 2023

Great 😄

@vkurko vkurko closed this as completed Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants