Skip to content

markingType="period" single day CIRCLE #560

Open
@kenkotch

Description

@kenkotch

Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.

Description

I'm setting my marking type to period as I have some multi day events and single day events. When making a single day event, the marker is not a circle. How can I make it such?

Expected Behavior

Single day events should be circles

Observed Behavior

They are ovals

If there's an error message, please paste the full terminal output and error message in this code block:

Error text goes here!

Environment

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

  • npm ls react-native-calendars: [email protected]
  • npm ls react-native: (empty) though it is version 0.55.3

Also specify:

  1. Phone/emulator/simulator & version: Android - every version I have tried, simulator and tablet

Reproducible Demo

let dot = {}
dot['2018-07-09'] = { startingDay: true, color: '#00adf5', textColor: '#2e2e2e' }
dot['2018-07-10'] = { endingDay: true, color: '#d4d4d4' }
dot['2018-07-17'] = { startingDay: true, endingDay: true, color: '#d4d4d4' }
dot['2018-07-25'] = { startingDay: true, endingDay: true, color: '#d4d4d4' }

<Calendar
  markingType="period"
  markedDates={ dot }
/>

screenshot_1531508552

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions