christopherdro / christopherdro/react-native-calendar

Days not lining up correctly after changing DayButton size

Open
#138 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
536
Forks
233
PR merge metrics
No merged PRs in 30d

Description

"react-native-calendar": "https://github.com/christopherdro/react-native-calendar"

Changed calendar width to 0.7 of screen and dayButton to 1/7 of that. The top row is jutting out...

iOS
screen shot 2017-05-18 at 1 06 01 pm

Android
screen shot 2017-05-18 at 1 06 09 pm

```
calendarContainer: {
width: calendarWidth
},
dayButton: {
width: calendarWidth/7
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the layout on iOS and Android using the reported calendar width and inspect the calendarContainer and dayButton styles shown in the issue. Compare the rendered top row with the remaining days to identify why the widths do not align; done means the rows line up consistently on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.