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

The popup does not close when you click on the treeselect library #763

Open
Khazae opened this issue May 12, 2024 · 0 comments
Open

The popup does not close when you click on the treeselect library #763

Khazae opened this issue May 12, 2024 · 0 comments

Comments

@Khazae
Copy link

Khazae commented May 12, 2024

Vue2-datepicker version: Last version

When clicking on the treeselect library, the datepicker does not close.

The problem is due to mousedown it is necessary to change it to a click.

this._clickoutEvent = 'ontouchend' in document ? 'touchstart' : 'mousedown';

document.addEventListener(this._clickoutEvent, this.handleClickOutside);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant