Skip to content

scrollToCurrentTime, even the calendar has no internal scroll #2028

Closed
@maifeeulasad

Description

@maifeeulasad

Do you want to request a feature or report a bug?

Feature

What's the current behavior?

Quite sure, this feature doesn't exist.

Currently, there is can only be achieved, when the calendar isn't taking like 100% of the height. When the internal scroll isn't visible, this doesn't work.

const momentCurrent = moment();
....
        scrollToTime={
            momentCurrent.set({
                h:momentCurrent.hours(),
                m:momentCurrent.minutes()}
            ).toDate()
        }

What's the expected behavior?

With some props like, scrollToCurrentTime, it scrolls to rbc-current-time-indicator.

Use case:

When we have a really big calendar like 15 minutes difference is even show. Then this scroll to the current time may be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions