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

'style' prop doesn't work for Dropdown #8444

Closed
cyyyu opened this Issue Dec 5, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@cyyyu
Contributor

cyyyu commented Dec 5, 2017

Version

3.0.0

Environment

macOS@latest, chrome@latest

Reproduction link

https://codepen.io/cyyyu/pen/jaJRxa?editors=0010#0

Steps to reproduce

check out the reproduction link.

What is expected?

styles should apply for the dropdown.

What is actually happening?

it doesn't work.


seems it's a issue from 'rc-dropdown' or 'rc-trigger', I have checked these repos, but I don't see style applies for any of them

image


image

@afc163

This comment has been minimized.

Member

afc163 commented Dec 5, 2017

<Dropdown overlay={<Menu style={{ ... }}></Menu>}>

https://codepen.io/afc163/pen/NwJVRM?editors=0010

@afc163 afc163 closed this Dec 5, 2017

@cyyyu

This comment has been minimized.

Contributor

cyyyu commented Dec 5, 2017

@afc163 I see, then what the DropDownProps['style'] is used for?

@afc163

This comment has been minimized.

Member

afc163 commented Dec 5, 2017

It seems to be unused..

@cyyyu

This comment has been minimized.

Contributor

cyyyu commented Dec 5, 2017

okay... it's kind of confusing...
thanks anyway~~

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