Code Monkey home page Code Monkey logo

Comments (4)

doabit avatar doabit commented on August 10, 2024 7

Please see http://semantic-ui.com/modules/dropdown.html

application.js

//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require semantic-ui
//= require_tree .

$(function(){
  $('.ui.dropdown').dropdown();
})

from semantic-ui-sass.

kaillera999 avatar kaillera999 commented on August 10, 2024

李楠@139

From: Sean Deng
Date: 2014-04-15 16:52
To: doabit/semantic-ui-sass
CC: kaillera999
Subject: Re: [semantic-ui-sass] semantic-ui-sass dropdown does not work properly (#11)
Please see http://semantic-ui.com/modules/dropdown.html
application.js
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require semantic-ui
//= require_tree .

$(function(){
$('.ui.dropdown').dropdown();
})


Reply to this email directly or view it on GitHub.

from semantic-ui-sass.

doabit avatar doabit commented on August 10, 2024

I closed this issue. If you still have problem, you can reopen it.

from semantic-ui-sass.

netsmertia avatar netsmertia commented on August 10, 2024

May be I am facing the same issue. In my case dropdown opened but not closed.
I have only dropdown.js js file in index.html. I have tested on

<div class="ui dropdown">
  <div class="text">Select</div>
  <i class="dropdown icon"></i>
  <div class="menu">
    <div class="item">Edit</div>
    <div class="item">Remove</div>
    <div class="item">Hide</div>
  </div>
</div>

and

$('.ui.dropdown')
  .dropdown();

and on other examples give in docs.
but then I added semantic-min.js and every thing works fine.

from semantic-ui-sass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.