christopherdro / christopherdro/react-native-calendar

Can't set margin on calendar container

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

Description

Due to the way this is implemented, you can't set margins on the container itself.
For example, the library uses DEVICE_WIDTH everywhere. Meaning, we have to override the styles and subtract the margin everywhere that DEVICE_WIDTH is used.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing every use of DEVICE_WIDTH in the calendar implementation and determine how the container dimensions are calculated. The work is complete when a consumer can apply margins to the calendar container without overriding styles or manually subtracting those margins from each DEVICE_WIDTH use.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.