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

Calendar table is displayed wrong #24

Closed
zavernutiy opened this issue Jan 4, 2016 · 2 comments
Closed

Calendar table is displayed wrong #24

zavernutiy opened this issue Jan 4, 2016 · 2 comments

Comments

@zavernutiy
Copy link

Hi, I use your big-calendar but I have a problem with how it is displayed. I made an attachement with the screenshot
image

This is how I use it:

var BigCalendar = require('react-big-calendar');
require('react-big-calendar/lib/css/react-big-calendar.css');

render: function () {
        return (
            <Layout active="plan" title="Planning">
                <div className="content-app fixed-header">
                    <div className="app-header">
                        <button className="btn btn-md btn-info" onClick={this.copyWeek}>
                            Copy week
                        </button>
                        <button className="btn btn-md btn-success pull-right" onClick={this.openModal}>
                            New course
                        </button>
                    </div>
                    <div className="app-body">
                        <div className="box">
                            <BigCalendar
                                events={this.events}
                                defaultDate={new Date()}
                                defaultView='week'
                                views={[]}
                                onSelectSlot={(this.slotSelected)}
                                onSelectEvent={(this.eventSelected)}
                                />
                        </div>
                    </div>
                </div>
            </Layout>
}

But if I remove the defaultView and views attribute, and then choose week the table looks fine.
image

@zavernutiy zavernutiy changed the title Calendar table is displayed wrong. Custom color for events Calendar table is displayed wrong Jan 4, 2016
@yuliroth
Copy link

+1

@jquense
Copy link
Owner

jquense commented Jan 14, 2016

Sorry folks, fix coming soon!

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

3 participants