-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[pickers][DatePicker] change borderRadius of selected day for dateCalendar #13083
Comments
@ImamJanjua is this something that you are looking for? 🤔 |
@LukasTy thanks man! another thing, calendar is not responsive at all and appears to have fixed dimension, does it have something to do with the breakpoints? Bildschirmaufnahme.2024-05-13.um.10.17.26.mov |
Yes, the calendar has a fixed width just as the material design suggests. |
@LukasTy shouldn't u know that? 😄 |
Well, that's basically an answer—we don't know of a good way to make the calendar UX friendly and responsive, that's why it has the same fixed width as the material design suggests. |
@LukasTy does the calendar has breakpoints and can i acess and modify them? |
No, there are no explicit breakpoints that are used. |
@LukasTy thanks! do u may know how can change the view with custom header? const DateCalendar: React.FC<DateCalendarProps<Date>> = (props) => {
const Header = () => {
return (
<div className="flex flex-row justify-center gap-8 ">
{/* on press go to next month*/}
<button>
<ChevronLeft size={22} />
</button>
{/* on press go to today*/}
<button>today</button>
{/* on press go to previous month*/}
<button>
<ChevronRight size={22} />
</button>
</div>
);
};
return (
<ThemeProvider theme={theme}>
<Calendar
slots={{
calendarHeader: Header,
}} />
);
}; |
see this #13116 ... is this issue resolved and can be closed @ImamJanjua? |
The issue has been inactive for 7 days and has been automatically closed. |
Steps to reproduce
No response
Current behavior
No response
Expected behavior
No response
Context
Hi, I am trying to change the borderRadius for the days which are been selected or like the todays day, but not working for me
Your environment
No response
Search keywords: .
The text was updated successfully, but these errors were encountered: