GithubHelp home page GithubHelp logo

Comments (5)

Joramt avatar Joramt commented on August 28, 2024 2

Big calendar purpose is to display events on a calendar graphic support. Therefore it makes sense for the events to overlap, as one person might be attending various numerous of events in a single day. This isn't an issue, but simply a request that you'd like big calendar to have to suit your needs.

from react-big-calendar.

jquense avatar jquense commented on August 28, 2024 1

Generally I think the best way to handle this is to enforce the event overlapping constraints outside of the calendar using the callbacks. I thnk the only things thats missing to allow this usecase is the ability to prevent the actual drag and select to create a an event. theonSelectStart callback already exists it probably makes sense to allow preventDefault in those cases.

from react-big-calendar.

3plusalpha avatar 3plusalpha commented on August 28, 2024

Yes, it's a feature request. In my case I want to let users define dates / slots that do not overlap. For example teacher can only teach one class at once.

from react-big-calendar.

3plusalpha avatar 3plusalpha commented on August 28, 2024

Callbacks would be a nice generic solution. I would propose to add these two events: onSelect and onSelectEnd.

from react-big-calendar.

3plusalpha avatar 3plusalpha commented on August 28, 2024

Thanks! :)

from react-big-calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.