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

Click does not select the hour or minute part correctly if the input's width is longer than its content #9

Closed
loebi-ch opened this issue Dec 21, 2017 · 0 comments

Comments

@loebi-ch
Copy link
Owner

If I make the input field longer than its content, the selection of the hour or minute part does not really work correctly by clicking with the mouse or touching with the finger.

In the current version (2.1.5) I calculate the middle of the input (subtracting its left and right padding). There must be a better way to detect which part to select.

@loebi-ch loebi-ch closed this as completed Jan 8, 2018
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