-
Notifications
You must be signed in to change notification settings - Fork 328
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
Override customDate style when it is highlighted(selected) #95
Comments
That would be a good feature to have. Would you be willing to submit a PR? |
On reviewing the code and from my experience, the selected date style should override the custom style. Have you tried setting borderWidth 0 for the selected date style? |
I jus tried your suggestion and it doesn't seem to be the case. For every date that I apply a customDateStyle too, when I select it and I have a different select style, the select style does not override the customDateStyle. |
Looks like the logic will need to be updated to prioritize the selected style. Would you like to test it? You'd need to point your package.json to this repo. |
@jfrense Code is on master if you'd like to try it out |
@peacechen thanks for the fix. One issue I noticed is that the following components don't have any effect anymore
for dates where the customDateStyle does not apply. |
Would you mind posting your |
I am marking other days with a different style if I have an event for that day already scheduled. However when a User selects that day I still want the border that occurs when a date is selected. If I add a border to my customDate style then two dates have a border around them which I dont want to happen.
Is there a way for the highlighted style to override the custom date style when selected ? Or amybe merge the two styles with custom style + selected style?
The text was updated successfully, but these errors were encountered: