question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

minimum/default duration of selection

See original GitHub issue

Originally reported on Google Code with ID 2563

SelectHelper should not ignore ForceEventDuration option.

Click anywhere in the time grid.
http://jsbin.com/qemufaqetu/edit?js,output


Reported by kolinek@finreport.cz on 2015-08-17 10:31:59

Imported with 1 stars.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
arshawcommented, Jun 5, 2016

The select helper was never meant to respect forceEventDuration (which is more of an event data massaging setting anyway), but you do bring up a good point about an API for a minimum-duration event selection.

Two new settings I can envision:

  • minSelectionDuration - won’t allow the user to select any smaller that this
  • defaultSelectionDuration - when user does a click down, the selection will be this duration by default, but when they begin to drag beyond the first snap, allow for the normal snap selection of any duration

Google Calendar employs the later and I enjoy the UX of it.

3reactions
morkerscommented, Aug 28, 2018

Hi! Are there some updates for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Amazon S3 storage classes - AWS Documentation
Data stored in the S3 Glacier Deep Archive storage class has a minimum storage duration period of 180 days and a default retrieval...
Read more >
Set duration for still images with Adobe Premiere Elements
You can set a default duration for all still images that you add, and you can change their duration in the Quick view/Expert...
Read more >
Chaging Default Still Image Duration? - FCP.co Forum
If you select the all the will and edit them into the project they will be 10 seconds.
Read more >
Set the default duration for events in your organization
Select a default event duration, then click Save. The recommended event duration is 30 minutes. Changes can take up to 24 hours but...
Read more >
<input type="range"> - HTML: HyperText Markup Language
The default value is halfway between the specified minimum and ... Password length for a password manager's generated passwords.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found