Skip to content
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

DatePicker menuStyle prop is not applied to the menu #3508

Closed
GideonMax opened this issue Dec 17, 2023 · 1 comment · Fixed by #3509
Closed

DatePicker menuStyle prop is not applied to the menu #3508

GideonMax opened this issue Dec 17, 2023 · 1 comment · Fixed by #3509

Comments

@GideonMax
Copy link

What version of rsuite are you using?

5.0.0

What version of React are you using?

18.0.24

What version of TypeScript are you using (if any)?

No response

What browser are you using?

Chrome

Describe the Bug

setting menuStyle prop on DateSelector does not affect the style of the menu element.

Expected Behavior

The menuStyle prop should affect the menu element's style.

To Reproduce

https://codesandbox.io/s/happy-joji-lr8pzj
this example shows a DatePicker with both the menuStyle and menuClassName props set.

  1. open the date picker (click on it)
  2. open developer tools and select the menu element.
  3. as you can see the menuClassName attribute is applied to the menu but the menuStyle prop does not affect the element.
@simonguo
Copy link
Member

Fixed in v5.48.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants