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

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

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

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

cyyyu opened this issue Dec 5, 2017 · 4 comments

Comments

@cyyyu
Copy link
Contributor

@cyyyu 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
Copy link
Member

@afc163 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
Copy link
Contributor Author

@cyyyu cyyyu commented Dec 5, 2017

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

@afc163
Copy link
Member

@afc163 afc163 commented Dec 5, 2017

It seems to be unused..

@cyyyu
Copy link
Contributor Author

@cyyyu cyyyu commented Dec 5, 2017

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

yesmeck referenced this issue Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants