React-native-calendars: Marked dates display a vertical white line through them on Android

Created on 25 Aug 2017  路  6Comments  路  Source: wix/react-native-calendars

Description

When selecting dates with the Calendar component, some of the marked dates have a white vertical liine through them.

See the tile representing 5th August

screen shot 2017-08-25 at 15 57 25

Expected Behavior

I simulated a date selection from Aug 1st - Aug 25th. It is expected that all tiles render without a vertical line through it.

Observed Behavior

A single date has a vertical line through it. After testing this in two separate repositories, the problematic date was Aug 5th, is this a coincidence?

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-calendars: 1.5.8
  • npm ls react-native: 0.44.0 (& 0.45.1)

Also specify:

  1. Phone/emulator/simulator & version: Nexus 6P, Android 7.0 (Marshmellow), API 24

Reproducible Demo

Repo: https://github.com/hannigand/react-native-calendars

Steps:

  1. cd example
  2. yarn install
  3. react-native run-android
  4. Navigate to the Calendar tab
  5. Observe the first Calendar
Bug report

Most helpful comment

Same issue here

image

All 6 comments

Same issue here

image

Same as #61

This is caused by the margins on the calendar wrapper, removing them fix the issue.

@JCMais could you elaborate? Thanks

Poke @tautvilas please could you review the pull request (#177).

Reviewed and merged

Was this page helpful?
0 / 5 - 0 ratings

Related issues

microwin168 picture microwin168  路  4Comments

Yandamuri picture Yandamuri  路  4Comments

idlework picture idlework  路  4Comments

nickitatkach picture nickitatkach  路  4Comments

MrAlekhin picture MrAlekhin  路  4Comments