Semantic-ui-react: select and dropdown not work if just import correspond css file

Created on 31 Aug 2017  路  2Comments  路  Source: Semantic-Org/Semantic-UI-React

i wanna just import a dropdown component in my react project, but it not work,
if just import 'semantic-ui-css/components/dropdown.css'
it would not work like this (click it and the item list would not show)
default

if import 'semantic-ui-css/semantic.css'
2
it worked now , but the other style would been changed ,i don't like this,
i tried to import some compoents ,but also not work
3

so , how can fix it ? thanks

question

Most helpful comment

i have soluted it :)
the dropdown component need three css file : dropdown.css transition.css and reset.css

All 2 comments

Please use SO questions. Dropdown also requires CSS from Transition.

i have soluted it :)
the dropdown component need three css file : dropdown.css transition.css and reset.css

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eXtreme picture eXtreme  路  3Comments

KevinGorjan picture KevinGorjan  路  3Comments

nix1 picture nix1  路  3Comments

mattmacpherson picture mattmacpherson  路  3Comments

levithomason picture levithomason  路  3Comments