-
Notifications
You must be signed in to change notification settings - Fork 244
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
Eventdates not being displayed #133
Comments
I am having the same issue. There is a flag for event indicators:
Doesn't seem to make a difference though. Tried many different things and couldn't get anything to show. |
This broke "eventDates". How to pass them now? What format? |
Yup, I can reproduce the bug. Looking at it now. |
Submitted a PR. In the meantime you can cherry-pick this commit. |
Thanks @noitcudni ! @Tuuben Could you give this a shot and let me know if it worked out for ya? |
Thank you for the quick response! I tried the changes @noitcudni made to the Calendar.js file but no event indicators are still being displayed in the calendar for me .. anything else im missing here? |
@Tuuben You are missing the |
Oh yeah, thank you very much @noitcudni i got it working now! |
@noitcudni , I used your commit, it can show the events in the middle of the calendar, however, events are not show in the last row of the calendar (I marked '20170530', '20170531' in the event, however the indicator not shown in these 2 days) ` class RosterScreen extends Component {
} |
OK, I'll take a look over the weekend. |
@saycchai, I tried it in my dev environment and the events are showing up fine. I just took another look at your screenshot. Looks like you might need to increase your view height? |
@noitcudni, thx for your advice, I will try it out. |
@saycchai, I have the same problem. It's because of padding of ScrollView. |
Hey, i've been trying to add some eventDates to my calendar but the eventIndicators aren't being displayed. Any ideas what the issue might be?
Code:
<Calendar eventDates={['2017-10-05', '2017-11-05', '2017-12-05', '2017-13-05']} nextButtonText={'Next'} prevButtonText={'Prev'} showControls={true} customStyle={calendarStyle} dayHeadings={["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"]} />
Style:
const calendarStyle = { eventIndicator: { backgroundColor: 'blue', width: 10, height: 10, }, }
The text was updated successfully, but these errors were encountered: