React-big-calendar: v0.19 has layout bug

Created on 31 Mar 2018  路  4Comments  路  Source: jquense/react-big-calendar

Do you want to request a _feature_ or report a _bug_?

_bug_

What's the current behavior?

v0.19
2018-03-31 12 34 38

What's the expected behavior?

v0.18
2018-03-31 12 36 21

Width is not set in cell.

// v0.18
<div class="rbc-date-cell rbc-off-range" style="flex-basis: 14.2857%; max-width: 14.2857%;"><a href="#">25</a></div>
// v0.19
<div class="rbc-date-cell rbc-off-range"><a href="#">25</a></div>

Thank you!

Most helpful comment

@jquense Have a look at this https://codesandbox.io/s/kwxjmo69po

All 4 comments

Can you put together a reproduction in the code sandbox template?

@jquense Have a look at this https://codesandbox.io/s/kwxjmo69po

@BilalBudhani that is because you haven't provided a height to the calendar

@jquense Oh, I see! Thanks for helping me out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bionicvapourboy picture bionicvapourboy  路  3Comments

zhming0 picture zhming0  路  3Comments

The-Oracle picture The-Oracle  路  3Comments

manutenfruits picture manutenfruits  路  3Comments

connercms picture connercms  路  3Comments