Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

How can i set background color on clicked date on month view with onBeforeCreateSchedule and without useCreationPopup #40

Open
naramdash opened this issue Aug 2, 2020 · 2 comments
Labels
Question Further information is requested

Comments

@naramdash
Copy link

Version

"@toast-ui/react-calendar": "^1.0.5",
"tui-calendar": "^1.12.13"

Test Environment

windows 10 pro 2004
microsoft edge 84

nodejs 12
nextjs 9.3.6
react 16.13.1

Current Behavior

as title, How can i paint background color only clicked Day cell in month view without using useCreationPopup?
because, i dont want to make default creation popup onClick event

using guide param in onBeforeCreateSchedule to achieve this is impossible.
using getRootElement too.

Expected Behavior

adding selectedDate prop in Calendar will be best.
But if there's another way, please share it.
thank you!

@cds88
Copy link

cds88 commented Sep 11, 2020

I have the same problem. This calendar has some sort of bug, because you cant literally just click and focus on a single tile. You get guideElements object in onBeforeCreateSchedule, but there is no indication how many tiles are focused.

@jungeun-cho jungeun-cho added the Question Further information is requested label Oct 7, 2020
@jinsol-htbeyond
Copy link

I also have the same problem. i think it need to more various theme props.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants