You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a reason for going with mouse down instead of click, but it's been a few years. Probably just response time, I wanted it to react immediately to input. I think I was planning to support dragging across dates, and just never got around to implementing it. I'd rather detect the right click and not update in that case.
I'll see about addressing it next time I'm in the codebase.
Twipped
changed the title
Use click instead mousedown
Right clicking on the calendar triggers changes.
May 9, 2016
There is another question about use mousedown. Whichever left or right mouse down, it will trigger a view-changed event, and I subscribe the view-changed event to do something. But if I choose the wrong date, it is also trigger the view-changed event. If use click I can move the mouse and it won't trigger the event.
If use the event
mousedown
when use right mouse button, it is will display a menu and if use the event it won't have a side affect.The text was updated successfully, but these errors were encountered: