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

Disable double click feature #71

Open
komitoff opened this issue Aug 17, 2022 · 0 comments
Open

Disable double click feature #71

komitoff opened this issue Aug 17, 2022 · 0 comments

Comments

@komitoff
Copy link

Hello there,
I am using the calendar-element and it is really good. There is just one small thing that I can't really handle and it is the double click feature.
I read almost everything written as documentation regarding this component, but I was not able to find a way to disable this double click feature.

Here is my simple code

    static get template() {
        return html`
            <custom-style>
              <style is="custom-style">
                calendar-element {
                    --input-picker-color: black;
                    --input-picker-background: white;
                }
              </style>
            </custom-style>
            <calendar-element
                locale="[[locale]]"
                date="{{date}}"
                on-click="dateSelected">
                </calendar-element>
            `;
    }

Would be really nice if this is already existing, but I didn't find the way to disable it.
Thanks in advance !

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